MQ history linked to main repository history

Vladimir Marek Vladimir.Marek at Sun.COM
Mon Apr 7 09:43:18 UTC 2008


Hi,

I do keep set of patches in mq repository and every time I update the
main repository, I sync my patches. I would like to be able to go back
in time and find out that when the main repo was in revision REV, the
corresponding patch in MQ was in revision MQ_REV.

My solution so far is that for every change in MQ I add the main repo
revision to the commit comment. So my commit log in MQ looks like:

========================================================================
...
changeset:   29:021bb972dd00
user:        Vladimir Marek <Vladimir.Marek at Sun.COM>
date:        2008-03-21 03:22 +0100
log:
3952 2008-03-21 03-22-15
--------------------------------------------------------------------
changeset:   28:a2f8afe4646a
user:        Vladimir Marek <Vladimir.Marek at Sun.COM>
date:        2008-03-14 09:54 +0100
log:
3874 2008-03-14 09-54-17
--------------------------------------------------------------------
changeset:   27:3e002dae7341
user:        Vladimir Marek <Vladimir.Marek at Sun.COM>
date:        2008-02-26 03:24 +0100
log:
3640 2008-02-26 03-24-00
...
========================================================================

I can see that MQ revision 28 is applicable to main repo from revisions
3874 to 3951.

Is there anything more clever/automated ?

Thanks

-- 
	Vlad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20080407/c5e3a775/attachment-0001.asc>


More information about the Mercurial mailing list