Files
git-remote-hg/tools/hg_revert_5.7.patch
Felipe Contreras e24a713dc9 check-versions: add hack for hg 5.7
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2022-08-05 01:29:05 -05:00

25 lines
706 B
Diff

diff --git a/hg b/hg
index 4ec2b6140b..a3e61ad39c 100755
--- a/hg
+++ b/hg
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
#
# mercurial - scalable distributed SCM
#
diff --git a/mercurial/hg.py b/mercurial/hg.py
index 1a7a281e30..bf75f15ac1 100644
--- a/mercurial/hg.py
+++ b/mercurial/hg.py
@@ -1013,7 +1013,7 @@ def clone(
pass
if uprev is None:
try:
- if destrepo._activebookmark:
+ if False:
uprev = destrepo.lookup(destrepo._activebookmark)
update = destrepo._activebookmark
else: