[PATCH] Add --no-commit option to import command

Joel Rosdahl joel at rosdahl.net
Mon Jan 14 12:01:10 CST 2008


Thomas Arendsen Hein <thomas at intevation.de> writes:

> * Joel Rosdahl <joel at rosdahl.net> [20070428 18:01]:
>
>> Suggestion: Add a --no-commit option to the import command. I find
>> it useful, at least.
>
> Can you give an example use case?

I don't remember exactly, but I think I wanted to quickly continue
working on a patch I had lying around without having to start using
MQ. That is, I just wanted to apply the patch, and since I was on a
Windows box, I didn't have access to an external patch command. Sure,
I could have used "hg import -m whatever foo.patch; hg rollback", but
a --no-commit option to import seemed nicer.

Regards,

-- 
Joel Rosdahl <joel at rosdahl.net>
Key BB845E97; fingerprint 9F4B D780 6EF4 5700 778D  8B22 0064 F9FF BB84 5E97


More information about the Mercurial-devel mailing list