Mercurial > hg
changeset 5211:bddb4ff134c0
Do not lose previous tags when adding a tag in raw mode
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 23 Aug 2007 12:23:07 -0700 |
parents | 0f6a1bdf89fb |
children | b0bc8cf41ffc b772c0b9f0bd |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sun Aug 19 14:03:56 2007 -0500 +++ b/mercurial/localrepo.py Thu Aug 23 12:23:07 2007 -0700 @@ -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)