question regarding mercurial

Mohit Aron extproxy at gmail.com
Tue Mar 4 12:22:11 CST 2008


Hello,

I'm evaluating switching from subversion to mercurial for my company. I had
a few questions that I was hoping I could get some help on.

1) How can one pull specific changesets from one repository to another ? It
seems mercurial provides good support to pull all changesets up to a given
number, but doesn't provide support to pick only a specific changeset and
skip earlier ones. This functionality is really important when a release
repository is cut out from the main development one, and from thereon only
bug fixes need to be merged.

I've scanned the mercurial documentation and mailing lists for the answer on
the above. The site
http://hgbook.red-bean.com/hgbookch14.html#x18-32000014.3 just says "need to
talk to Brendan ...". Can that be fixed ? This is important functionality
and I think both the mercurial book and the FAQ need to talk about it.

2) It seems one can just modify files without telling mercurial about the
intent to do so. And then 'hg status' has to figure out what all is being
modified - possibly by doing a 'stat' on each file in the repository. While
this might be ok for a local disk, this is terrible for workspaces on NFS. I
think future mercurial releases should consider supporting a mode where one
needs to explicitly do a 'hg edit filename' to tell mercurial that it is
going to modify a file (same as perforce). Any other files that are modified
would not show up in 'hg status' - in fact, it might be better if files
don't have write permissions unless one does an 'hg edit' on it.


- Mohit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080304/a39c2bb6/attachment.htm 


More information about the Mercurial mailing list