##// END OF EJS Templates
repair: clarify in comment that caller must take lock, but not transaction...
Martin von Zweigbergk -
r32922:eb84b4ad default
parent child Browse files
Show More
@@ -76,8 +76,9 b' def _collectbrokencsets(repo, files, str'
76 return s
76 return s
77
77
78 def strip(ui, repo, nodelist, backup=True, topic='backup'):
78 def strip(ui, repo, nodelist, backup=True, topic='backup'):
79 # This function operates within a transaction of its own, but does
79 # This function requires the caller to lock the repo, but it operates
80 # not take any lock on the repo.
80 # within a transaction of its own, and thus requires there to be no current
81 # transaction when it is called.
81 # Simple way to maintain backwards compatibility for this
82 # Simple way to maintain backwards compatibility for this
82 # argument.
83 # argument.
83 if backup in ['none', 'strip']:
84 if backup in ['none', 'strip']:
General Comments 0
You need to be logged in to leave comments. Login now