Patchwork D4098: narrow: drop checkambig=True when restoring backup

login
register
mail settings
Submitter phabricator
Date Aug. 4, 2018, 12:12 a.m.
Message ID <76987016496d0da7cbcfd8e08af503c3@localhost.localdomain>
Download mbox | patch
Permalink /patch/33204/
State Not Applicable
Headers show

Comments

phabricator - Aug. 4, 2018, 12:12 a.m.
martinvonz updated this revision to Diff 9873.

REPOSITORY
  rHG Mercurial

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

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

AFFECTED FILES
  mercurial/narrowspec.py

CHANGE DETAILS




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

Patch

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: