##// END OF EJS Templates
Do not lose previous tags when adding a tag in raw mode
Brendan Cully -
r5211:bddb4ff1 default
parent child Browse files
Show More
@@ -151,6 +151,8 b' class localrepository(repo.repository):'
151 except revlog.LookupError:
151 except revlog.LookupError:
152 pass
152 pass
153 fp = self.wfile('.hgtags', 'wb')
153 fp = self.wfile('.hgtags', 'wb')
154 if prevtags:
155 fp.write(prevtags)
154
156
155 # committed tags are stored in UTF-8
157 # committed tags are stored in UTF-8
156 writetag(fp, name, util.fromlocal, prevtags)
158 writetag(fp, name, util.fromlocal, prevtags)
General Comments 0
You need to be logged in to leave comments. Login now