##// END OF EJS Templates
tag: force load of tag cache
Matt Mackall -
r7814:4421abf8 default
parent child Browse files
Show More
@@ -227,6 +227,7 b' class localrepository(repo.repository):'
227 raise util.Abort(_('working copy of .hgtags is changed '
227 raise util.Abort(_('working copy of .hgtags is changed '
228 '(please commit .hgtags manually)'))
228 '(please commit .hgtags manually)'))
229
229
230 self.tags() # instantiate the cache
230 self._tag(names, node, message, local, user, date)
231 self._tag(names, node, message, local, user, date)
231
232
232 def tags(self):
233 def tags(self):
@@ -35,6 +35,7 b' 0acdaf8983679e0aac16e811534eb49d7ee1f2b4'
35 868cc8fbb43b754ad09fa109885d243fc49adae7 gack
35 868cc8fbb43b754ad09fa109885d243fc49adae7 gack
36 868cc8fbb43b754ad09fa109885d243fc49adae7 gawk
36 868cc8fbb43b754ad09fa109885d243fc49adae7 gawk
37 868cc8fbb43b754ad09fa109885d243fc49adae7 gorp
37 868cc8fbb43b754ad09fa109885d243fc49adae7 gorp
38 868cc8fbb43b754ad09fa109885d243fc49adae7 gack
38 3807bcf62c5614cb6c16436b514d7764ca5f1631 gack
39 3807bcf62c5614cb6c16436b514d7764ca5f1631 gack
39 3807bcf62c5614cb6c16436b514d7764ca5f1631 gack
40 3807bcf62c5614cb6c16436b514d7764ca5f1631 gack
40 0000000000000000000000000000000000000000 gack
41 0000000000000000000000000000000000000000 gack
@@ -60,21 +60,21 b' user: test'
60 date: Mon Jan 12 13:46:40 1970 +0000
60 date: Mon Jan 12 13:46:40 1970 +0000
61 summary: Removed tag bar
61 summary: Removed tag bar
62
62
63 tip 5:d8bb4d1eff25
63 tip 5:e86d7ed95fd3
64 bar 0:b409d9da318e
64 bar 0:b409d9da318e
65 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
65 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
66 created new head
66 created new head
67 tip 6:b5ff9d142648
67 tip 6:b744fbe1f6dd
68 bar 0:b409d9da318e
68 bar 0:b409d9da318e
69 abort: tag 'bar' already exists (use -f to force)
69 abort: tag 'bar' already exists (use -f to force)
70 tip 6:b5ff9d142648
70 tip 6:b744fbe1f6dd
71 bar 0:b409d9da318e
71 bar 0:b409d9da318e
72 adding foo
72 adding foo
73 tip 3:ca8479b4351c
73 tip 3:197c21bbbf2c
74 bar 2:72b852876a42
74 bar 2:6fa450212aeb
75 % bar should still point to rev 2
75 % bar should still point to rev 2
76 tip 4:40af5d225513
76 tip 4:3b4b14ed0202
77 bar 2:72b852876a42
77 bar 2:6fa450212aeb
78 adding foo
78 adding foo
79 abort: tag 'localtag' is not a global tag
79 abort: tag 'localtag' is not a global tag
80 abort: tag 'globaltag' is not a local tag
80 abort: tag 'globaltag' is not a local tag
General Comments 0
You need to be logged in to leave comments. Login now