Thread (34 messages) flat view 34 messages, 6 authors, 2016-06-15

Re: [PATCH 00/13] remote-hg: general updates

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:56:41

Antoine Pelisse wrote:
quoted
quoted
* internally, the marks are using the hg sha1s instead of the hg rev ids. The latter are not necessarily invariant, and using the sha1s makes it much easier to recover from semi-broken states.
I doubt this makes any difference (except for more wasted space).
I think this is definitely wrong. If you happen to strip a changeset
from the mercurial repository, and redo a completely different commit
on top of it, the new commit will never be seen on git end (because it
will have the same rev id and will thus be identified as identical
from git point of view).
That is true. I've written the code to use SHA-1 nodeids inststead andd this
particular scenario works correctly, I just need to figure a way to discard the
old ones.

Cheers.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help