hg push with mq applied

Bernd Schubert bschubert at q-leap.de
Fri May 25 09:29:34 UTC 2007


Robin Farine wrote:

> Hi,
> 
> On Thu May 24 2007 19:47, Bernd Schubert wrote:
> 
>> I'm adding patches to a project and I'm doing this on my local
>> disk. In order store this to save (backuped) storage I would like
>> to push everything to the backuped dir,  but this fails with
>>
>> abort: source has mq patches applied
>>
>> Well I know that it has mq patches applied and I would like to
>> push these patches as well.
> 
> But what happens when later you make changes to some of the patches
> and try to push again ?

Don't know what you mean, I can't push at all, so how should changing the
patches help?

> 
>> Any idea what I should do?
> 
> If you want to keep the changes in a patch queue, in my opinion it's
> good Hg does not allow to push the associated change sets. You can

It would be nice, if it would also push the patches.

> push the repo without patches and rsync the patch queue. But if you

Well, that's a workaround, but not a nice solution. The slash handling of
rsync always makes me nervous ;)

> consider these changes as permanent, you can
> 
>   hg qdel [-k] -r qbase

Thanks, but the patches are supposed to stay as patches, makes it easier for
me to push them upstream and some of them are also kernel version specific.


Thanks,
Bernd





More information about the Mercurial mailing list