Help text improvements
timeless
timeless at gmail.com
Thu Oct 22 11:44:13 UTC 2009
On Thu, Oct 22, 2009 at 10:15 AM, Fabian
<fabian.kreutz+google at starnet.fi> wrote:
> 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"
offhand, I think:
You can then use the alias for any command that uses a url (for example
'hg pull alias1' will be treated as 'hg pull URL1')
> 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.
perhaps:
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
I actually have patches against resolve in one of my trees. But I was
having trouble testing because someone installed hg into system
path.... I think after my patch is pushed I'll probably write a change
for this.
> 4. #: mercurial/util.py:1175, pp (units = ...) ???
> Could you remove the number format from the translation, so that we
> have '%.0f ' + _('GB')?
No. Because in theory a locale might want to have different order for
different magnitudes.
> 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.
> I suggest anyway, that convert and add give some warning output along
> the lines "Ignoring empty directory %s..."
That's a reasonable suggestion.
More information about the Mercurial-devel
mailing list