merge with stable
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 28 Feb 2017 17:27:44 +0100
changeset 1822 8cf82e55f48c
parent 1811 b1a81ef01faa (current diff)
parent 1814 efda653c96a7 (diff)
child 1823 649d7a574c3f
merge with stable
README
hgext3rd/evolve/__init__.py
--- a/.hgtags	Tue Nov 01 16:19:33 2016 +0100
+++ b/.hgtags	Tue Feb 28 17:27:44 2017 +0100
@@ -45,3 +45,4 @@
 99ede2d775458a236a46ad25a93aca473b676eee 5.6.0
 99ede2d775458a236a46ad25a93aca473b676eee 5.6.0
 e7b6e9c4a5d4317f56c2862910c569723b6ea71b 5.6.0
+70694b2621ba9d919bc38303f8901e84caf5da0f 5.6.1
--- a/README	Tue Nov 01 16:19:33 2016 +0100
+++ b/README	Tue Feb 28 17:27:44 2017 +0100
@@ -61,6 +61,10 @@
   - removed old (unpackaged) pushexperiment extension.
   - move all extensions in the official 'hgext3rd' namespace package
 
+5.6.1 -- 2017-02-28
+
+ - fix a crash that sometime happened when evolving merges.
+
 5.6.0 -- 2017-02-01
 
  - compatibility with Mercurial 4.1.
--- a/debian/changelog	Tue Nov 01 16:19:33 2016 +0100
+++ b/debian/changelog	Tue Feb 28 17:27:44 2017 +0100
@@ -1,8 +1,9 @@
-mercurial-evolve (5.6.0-1) UNRELEASED; urgency=medium
+mercurial-evolve (5.6.1-1) UNRELEASED; urgency=medium
 
   * New Upstream Release
+  * new upstream version
 
- -- Pierre-Yves David <marmoute@nodosa.octopoid.net>  Wed, 01 Feb 2017 15:06:21 +0100
+ -- Pierre-Yves David <marmoute@nodosa.octopoid.net>  Tue, 28 Feb 2017 17:21:34 +0100
 
 mercurial-evolve (5.5.0-1) unstable; urgency=medium
 
--- a/hgext3rd/evolve/__init__.py	Tue Nov 01 16:19:33 2016 +0100
+++ b/hgext3rd/evolve/__init__.py	Tue Feb 28 17:27:44 2017 +0100
@@ -4146,7 +4146,19 @@
     """Used by the evolve function to merge dest on top of pctx.
     return the same tuple as merge.graft"""
     if repo['.'].rev() != dest.rev():
-       merge.update(repo, dest, False, True, False)
+        #assert False
+        try:
+            merge.update(repo,
+                         dest,
+                         branchmerge=False,
+                         force=True)
+        except TypeError:
+            # Mercurial  < 43c00ca887d1 (3.7)
+            merge.update(repo,
+                         dest,
+                         branchmerge=False,
+                         force=True,
+                         partial=False)
     if bmactive(repo):
        repo.ui.status(_("(leaving bookmark %s)\n") % bmactive(repo))
     bmdeactivate(repo)