Vladimir Marek wrote:
> * To programatically find where the branching happened run
> hg parents -r $(hg log -b s11-sru -l 1 -r 0:tip --template '{rev}\n')
Also:
hg log -r "ancestor('default', 's11-sru')"
or
hg log -r "parents(min(branch('s11-sru')))"
> * Copy changeset X from default to SRU.
> hg log -p -r X | hg import --no-commit -
> Then normally hg diff/hg commit/....
Probably better to use "hg export -g X" instead of "hg log". The
transplant extension might be handy here, too.
Also, with the graphlog extension enabled, hg log -g is very handy to see
what's going on. I use
hg glog --template "{rev}:{node|short} {branches|nonempty}:
{desc|firstline}\n"
which I've put into the [alias] section of my .hgrc as "mgl".
Danek
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss