According to Jeremy Fitzhardinge:
> want. But at present, if you want to get the status of the whole repo
> regardless of your cwd, there's no clean way to do it; you have to
> determine the path to the top of the repo, and then do 'hg status' on
It is fairly easy:
( cd $(hg root); hg status )
will do what you expect w/o leaving your current dir..
I'm probably used to go to a specific dir and expect the SCM to limit
itself to the sub-tree I've choosen, like cvs/svn.
I'd even say that being able to checkout and work on a sub-tree without too
many hassles is something that makes cvs/svn easy for people.
I'd even dare to say that hg commit should also limit itself to the current
sub-tree but that may be too much :-) And commit is a bit special and I
can live with its "global"-ness.
YMMV as usual.
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@xxxxxxxxxxxxxxxxx
Darwin snuadh.freenix.org Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005
|