##// END OF EJS Templates
Fix issue1738 for strip too....
Brendan Cully -
r9125:8b58f53b default
parent child Browse files
Show More
@@ -112,7 +112,6 b' def strip(ui, repo, node, backup="all"):'
112 chgrpfile = _bundle(repo, savebases, saveheads, node, 'temp',
112 chgrpfile = _bundle(repo, savebases, saveheads, node, 'temp',
113 extranodes)
113 extranodes)
114
114
115 fs = [repo.file(name) for name in files]
116 mfst = repo.manifest
115 mfst = repo.manifest
117
116
118 tr = repo.transaction()
117 tr = repo.transaction()
@@ -121,8 +120,8 b' def strip(ui, repo, node, backup="all"):'
121 tr.startgroup()
120 tr.startgroup()
122 cl.strip(striprev, tr)
121 cl.strip(striprev, tr)
123 mfst.strip(striprev, tr)
122 mfst.strip(striprev, tr)
124 for f in fs:
123 for fn in files:
125 f.strip(striprev, tr)
124 repo.file(fn).strip(striprev, tr)
126 tr.endgroup()
125 tr.endgroup()
127
126
128 try:
127 try:
General Comments 0
You need to be logged in to leave comments. Login now