Thoughts on multi-step commands

Siddharth Agarwal sid0 at fb.com
Mon Jul 8 06:15:37 UTC 2013


On 07/03/2013 07:12 PM, Matt Mackall wrote:
> Can I add files in this state? If so, what does wlock mean? If I can't
> add files.. what if I wanted to add files?

Good point -- so it's not the working directory that needs to be locked, 
it's the DAG in some sense. A formal lock might be overkill, but I think 
something like your commit (and other DAG modification) blocker would 
probably make sense.

Should you be able to do an hg add in the middle of an interrupted 
checkout, though?



More information about the Mercurial-devel mailing list