mercurial/localrepo.py
changeset 5211 bddb4ff134c0
parent 5081 ea7b982b6c08
child 5221 8ede77c2d008
child 5234 b772c0b9f0bd
--- 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)