D4098: narrow: drop checkambig=True when restoring backup
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Aug 3 20:12:49 EDT 2018
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
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