hg equivalent to "bk collapse"?

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Mar 19 22:37:55 UTC 2007


[Posting to the list too the private reply I sent earlier to Ben.]

On 2007-03-19 22:23, Ben Hood <0x6e6562 at gmail.com> wrote:
>> I don't control the upstream Subversion repository, and I can't convert
>> the Subversion trunk to Mercurial, so I am using MQ to:
>>   * Help me maintain a fine-grained changelog of each patch in the
>>     bugfix workspaces, by frequent use of 'hg qcommit'.
>> 
>>   * Help me maintain a sane state of the patches, as I let changesets
>>     "flow" downstream from Subversion to my bugfix workspaces.
>> 
>> If I'm way off, please forgive the extra verbosity.  I probably
>> misunderstood your question and replied with something irrelevant.
> 
> No, if I understand you correctly, you are using hg as an intermediary
> between keeping your own fine grained changes in your tree and
> providing coarse grained changes to the foreign svn tree.
> 
> Does this mean that each patch in the mq series is equivalent to an hg
> changeset and then by indirection a svn revision (but you keep the
> history of each patch with the queue series)?

Exactly.  I keep the patch series around only until I commit the fix to
the upstream Subversion repository.  While the patch is still "in
development", I may have to go back and forth between various attempts
to prepare it, so MQ helps a bit there.

> BTW, the verbosity is great :-)

Thanks :)



More information about the Mercurial mailing list