[PATCH 1 of 1] mq/qpop: option to keep current working directory contents and state

Sune Foldager cryo at cyanite.org
Tue Nov 3 12:59:11 CST 2009


timeless wrote:
> On Tue, Nov 3, 2009 at 10:49 AM, Sune Foldager <cryo at cyanite.org> wrote:
>> Mads Kiilerich wrote:
>>
>>> I thought of it more like an inverse qrefresh. Qrefresh moves changes
>>> from working directory to a mq patch, and this is about doing the
>>> opposite. From that point of view the new option is similar to:
>>>
>>> hg qref -X '*'
>> Yes, this is what we currently do, but for some reason it's somewhat
>> dodgy. Also, you can't really use -R with it (and also only works with
>> one queue patch at a time).
> 
> I use "hg qref this-file-does-not-exist" :)

Hehe, yeah ok, there are many fun ways to do this, I see. Again, care
must be taken if you're not in the repository directory, as you will
probably need path/to/repo/file-that-does-not-exists.

/Sune


More information about the Mercurial-devel mailing list