Proposal: hg commands should operate on pwd, not on entire repo
Thomas Arendsen Hein
thomas at intevation.de
Tue Jun 27 06:47:07 UTC 2006
* Ed Santiago <esm at edsantiago.com> [20060616 17:46]:
> Currently, 'hg status' in a subdirectory shows all files
> in a repo, not just files under pwd. Worse: hg commit
> will check in all modified files.
This is intended behaviour. For a rationale see
http://www.selenic.com/mercurial/bts/issue42
or the mailing list discussion.
> This is counterintuitive, especially for anyone who has ever used
> any other SCM tool.
What are these other SCM tools? CVS doesn't count here, because it
doesn't know about changesets.
> (The workaround is to add '.' to all commands: hg status .
> and so on. That's really not a good solution).
This is an easy solution, because to make a command act on the whole
repository we would need add a special (and thus counterintuitive)
flag.
Thomas
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial
mailing list