changeset 5234:b772c0b9f0bd

Merge with crew-stable
author Brendan Cully <brendan@kublai.com>
date Thu, 23 Aug 2007 12:24:54 -0700
parents 90d9ec0dc69d (current diff) bddb4ff134c0 (diff)
children 988ed47d9d65
files mercurial/localrepo.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Thu Aug 23 01:48:29 2007 -0300
+++ b/mercurial/localrepo.py	Thu Aug 23 12:24:54 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)