Show More
@@ -394,7 +394,9 b' class mercurial_source(converter_source)' | |||||
394 | sortkey=ctx.rev()) |
|
394 | sortkey=ctx.rev()) | |
395 |
|
395 | |||
396 | def gettags(self): |
|
396 | def gettags(self): | |
397 | tags = [t for t in self.repo.tagslist() if t[0] != 'tip'] |
|
397 | # This will get written to .hgtags, filter non global tags out. | |
|
398 | tags = [t for t in self.repo.tagslist() | |||
|
399 | if self.repo.tagtype(t[0]) == 'global'] | |||
398 | return dict([(name, hex(node)) for name, node in tags |
|
400 | return dict([(name, hex(node)) for name, node in tags | |
399 | if self.keep(node)]) |
|
401 | if self.keep(node)]) | |
400 |
|
402 |
@@ -16,8 +16,10 b'' | |||||
16 | $ echo file > foo/file |
|
16 | $ echo file > foo/file | |
17 | $ hg ci -qAm 'add foo/file' |
|
17 | $ hg ci -qAm 'add foo/file' | |
18 | $ hg tag some-tag |
|
18 | $ hg tag some-tag | |
|
19 | $ hg tag -l local-tag | |||
19 | $ hg log |
|
20 | $ hg log | |
20 | changeset: 3:593cbf6fb2b4 |
|
21 | changeset: 3:593cbf6fb2b4 | |
|
22 | tag: local-tag | |||
21 | tag: tip |
|
23 | tag: tip | |
22 | user: test |
|
24 | user: test | |
23 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
25 | date: Thu Jan 01 00:00:00 1970 +0000 |
General Comments 0
You need to be logged in to leave comments.
Login now