How can I rebase without destroying changeset metadata?
Siddharth Agarwal
sid0 at fb.com
Mon Jan 14 18:52:42 UTC 2013
On 01/14/2013 02:00 AM, dukeofgaming wrote:
> So that leaves my newest commit as the root commit, effectively
> rewriting history to include that .hgeol file with all changes...
> problem is now, that I cannot pull from Perforce anymore, why?: there
> used to be a "Perforce" field in my imported changesets and is now gone.
FWIW, the code that manages extra fields is at [1]. There does seem to
be possible extensibility via extrafn there, but I don't know what the
right semantics are. I looked at the hgsubversion source and it does use
extrafn, but that doesn't seem to retain the convert_revision either [2].
[1] http://selenic.com/repo/hg/file/5db16424142c/hgext/rebase.py#l360
[2]
https://bitbucket.org/durin42/hgsubversion/src/68191be64af84e03ff1b7feb0629b44011a1ae0a/hgsubversion/wrappers.py?at=default#cl-473
More information about the Mercurial
mailing list