##// END OF EJS Templates
typing: add an assertion to the upgrade engine to help pytype...
Matt Harbison -
r47522:8da44c36 stable
parent child Browse files
Show More
@@ -516,6 +516,7 def upgrade(ui, srcrepo, dstrepo, upgrad
516 # reference to its new location. So clean it up manually. Alternatively, we
516 # reference to its new location. So clean it up manually. Alternatively, we
517 # could update srcrepo.svfs and other variables to point to the new
517 # could update srcrepo.svfs and other variables to point to the new
518 # location. This is simpler.
518 # location. This is simpler.
519 assert backupvfs is not None # help pytype
519 backupvfs.unlink(b'store/lock')
520 backupvfs.unlink(b'store/lock')
520
521
521 return backuppath
522 return backuppath
General Comments 0
You need to be logged in to leave comments. Login now