Help text improvements

Fabian fabian.kreutz+google at starnet.fi
Thu Oct 22 07:15:53 UTC 2009


Hi,

it's me again with help text improvement suggestions.
They come to my mind while translating the po file.

1. help urls:
"You can then use the alias for any command that uses a URL (for\n"
"example 'hg pull alias1' would pull from the 'alias1' path).\n"
-->
"You can then use the alias for any command that uses a URL (for\n"
"example 'hg pull alias1' would pull from URL1).\n"


2. help import:
Could mention --no-commit in the help text:
    Import a list of patches and commit them individually, unless --no-
commit
    is specified.


3. hg resolve
Could mention -l/--list in the last paragraph

4. #: mercurial/util.py:1175, pp (units = ...) ???
Could you remove the number format from the translation, so that we
have '%.0f ' + _('GB')?


----
Finally a personal note. While converting some svn-repos into
mercurial, it's always a lot of work
a) to find out that and b) to fix that mercurial does not version
empty directories. They silently vanish
during the conversion. Yesterday a collegue added some empty dirs to
introduce a structure. I realized that
they are not in RC, but hg add says nothing. It always takes some
time, until I realize that hg silently
ignores them, because they are empty. No! They might even contain
subdirectories and are still ignored.

Searching the mail-archive, I found the introduction of --keep-dirs to
the remove command. Now this is
weird. Does that mean that I should add a .empty file to all my dirs
and then remove them again with this
option, if I want to have empty dirs versioned?

I suggest anyway, that convert and add give some warning output along
the lines "Ignoring empty directory %s..."

Bye, Fabian



More information about the Mercurial-devel mailing list