Suggestions

Emmanuel Mogenet mgix at mgix.com
Mon Aug 8 21:45:39 CDT 2005


First suggestion :

You can easily find when something was introduced with hg annotate,
but is there a way to find when a chunk of code was removed ?

I often find myself wishing I could query the hg database, i.e. do
something like :

    hg grep <filename>  <regexp>

and have hg answer something along the lines of

    regexp match in release <xx>
    regexp match in release <yy>
    regexp match in release <zz>
    ...

Second suggestion:

    I've always been frustrated by the behavior of "remove" in cvs
    that forces you to first remove the file before you can actually
    call cvs remove on it. It turns out that hg seems to be behaving
    the same. Is there any chance of having hg being less anal about
   this and letting the user do an hg remove on a file even though it still
    exists in the directory ?




More information about the Mercurial mailing list