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

login
register
mail settings
Submitter phabricator
Date Aug. 5, 2018, 1:04 p.m.
Message ID <961b44178f90c95d2a06d499357e95ab@localhost.localdomain>
Download mbox | patch
Permalink /patch/33269/
State Not Applicable
Headers show

Comments

phabricator - Aug. 5, 2018, 1:04 p.m.
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




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: