hg diff/status <dir> problem

Thomas Arendsen Hein thomas at intevation.de
Thu Mar 1 10:48:15 CST 2007


* Johnny Stenback <jst at jstenback.com> [20070222 09:07]:
> I recently realized that the windows version of hg (0.9.3) doesn't
> appear to find changes to files in a repository when given a
> directory to look in. I.e. if I set up a trivial repository with a
> file inside a sub directory and change that file, then "hg status"
> shows the change, as does "hg status somedir/somefile", but "hg
> status somedir" does *not* show the change. Same goes for hg diff,
> hg commit, and maybe other commands as well.

As Andrei already said, this is fixed in the current stable and
development branches.

A workaround is to use:  hg status relpath:somedir

See http://www.selenic.com/mercurial/bts/issue303 for details.

The corresponding patch is
http://hg.intevation.org/mercurial/stable/rev/e6d54283c090

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrück - Registereintrag: Amtsgericht Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list