D4098: narrow: drop checkambig=True when restoring backup

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Sun Aug 5 09:04:51 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG204e074c188e: narrow: drop checkambig=True when restoring backup (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4098?vs=9873&id=9933

REVISION DETAIL
  https://phab.mercurial-scm.org/D4098

AFFECTED FILES
  mercurial/narrowspec.py

CHANGE DETAILS

diff --git a/mercurial/narrowspec.py b/mercurial/narrowspec.py
--- a/mercurial/narrowspec.py
+++ b/mercurial/narrowspec.py
@@ -137,7 +137,7 @@
 def restorebackup(repo, backupname):
     if repository.NARROW_REQUIREMENT not in repo.requirements:
         return
-    repo.vfs.rename(backupname, FILENAME, checkambig=True)
+    repo.vfs.rename(backupname, FILENAME)
 
 def clearbackup(repo, backupname):
     if repository.NARROW_REQUIREMENT not in repo.requirements:



To: martinvonz, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list