##// END OF EJS Templates
hg tag: run tag hook just once
John Coomes -
r5801:1b230f50 default
parent child Browse files
Show More
@@ -122,7 +122,6 b' class localrepository(repo.repository):'
122 122 fp.write('\n')
123 123 fp.write('%s %s\n' % (hex(node), munge and munge(name) or name))
124 124 fp.close()
125 self.hook('tag', node=hex(node), tag=name, local=local)
126 125
127 126 prevtags = ''
128 127 if local:
@@ -135,6 +134,7 b' class localrepository(repo.repository):'
135 134
136 135 # local tags are stored in the current charset
137 136 writetag(fp, name, None, prevtags)
137 self.hook('tag', node=hex(node), tag=name, local=local)
138 138 return
139 139
140 140 if use_dirstate:
@@ -40,7 +40,6 b' adding file changes'
40 40 added 3 changesets with 2 changes to 2 files
41 41 (run 'hg update' to get a working copy)
42 42 pretag hook: HG_LOCAL=0 HG_NODE=4c52fb2e402287dd5dc052090682536c8406c321 HG_TAG=a
43 tag hook: HG_LOCAL=0 HG_NODE=4c52fb2e402287dd5dc052090682536c8406c321 HG_TAG=a
44 43 precommit hook: HG_PARENT1=4c52fb2e402287dd5dc052090682536c8406c321
45 44 pretxncommit hook: HG_NODE=8ea2ef7ad3e8cac946c72f1e0c79d6aebc301198 HG_PARENT1=4c52fb2e402287dd5dc052090682536c8406c321
46 45 4:8ea2ef7ad3e8
General Comments 0
You need to be logged in to leave comments. Login now