Skip to content
Snippets Groups Projects
Commit bddb4ff1 authored by Brendan Cully's avatar Brendan Cully
Browse files

Do not lose previous tags when adding a tag in raw mode

parent 0f6a1bdf
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,8 @@
except revlog.LookupError:
pass
fp = self.wfile('.hgtags', 'wb')
if prevtags:
fp.write(prevtags)
# committed tags are stored in UTF-8
writetag(fp, name, util.fromlocal, prevtags)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment