Why no "list/ls" command?

Jesse Glick jesse.glick at sun.com
Fri Jan 4 11:35:43 CST 2008


Micah Elliott wrote:
>   1. wanting to see what's in a remote repository before cloning
>      it.

Note that no other Hg command accepts a remote repository as an 
argument, so this would really be a different command I think.

>   2. wanting to see what's in your CWD that is versioned.  Often
>      many files there are not versioned, and 'status -cm .'
>      recurses.

You can also use the locate command, though it is certainly not so 
simple, e.g.:

hg locate 're:some/path/[^/]*'



More information about the Mercurial mailing list