##// END OF EJS Templates
downgrade: don't assume existence of nodemap files when downgrading...
Raphaël Gomès -
r49253:897aa0c4 stable
parent child Browse files
Show More
@@ -147,7 +147,7 b' def delete_nodemap(tr, repo, revlog):'
147 if revlog._nodemap_file is None:
147 if revlog._nodemap_file is None:
148 msg = "calling persist nodemap on a revlog without the feature enabled"
148 msg = "calling persist nodemap on a revlog without the feature enabled"
149 raise error.ProgrammingError(msg)
149 raise error.ProgrammingError(msg)
150 repo.svfs.unlink(revlog._nodemap_file)
150 repo.svfs.tryunlink(revlog._nodemap_file)
151
151
152
152
153 def persist_nodemap(tr, revlog, pending=False, force=False):
153 def persist_nodemap(tr, revlog, pending=False, force=False):
General Comments 0
You need to be logged in to leave comments. Login now