Proposal: hg commands should operate on pwd, not on entire repo

Ed Santiago esm at edsantiago.com
Fri Jun 16 10:43:17 CDT 2006


If I'm cd'ed to a subdirectory, it's intentional.  That's
where I want to be.

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 counterintuitive,
especially for anyone who has ever used any other SCM
tool.  (The workaround is to add '.' to all commands: hg status .
and so on.  That's really not a good solution).

Proposal: make hg commands operate on pwd.

This is a big change, but there's lots of other big changes
happening anyway; might as well fix this one while things
are in transition.

Cheers,
^Ed
-- 
Ed Santiago               Toolsmith               esm at edsantiago.com



More information about the Mercurial mailing list