diff options
author | Guido Günther <agx@sigxcpu.org> | 2010-12-10 18:09:16 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-12-10 18:09:16 +0100 |
commit | 92d0e8358bed90fcb8a5df5d9751d8154c63f495 (patch) | |
tree | 2c8cfce19c25c750ceb117928c74ef777f19ab84 /gbp | |
parent | 37e97db91cd143f4c49539f926c2100bf2d50dc4 (diff) |
Add move_tag
Git-Dch: ignore
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/git.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -140,6 +140,11 @@ class GitRepository(object): if self.has_tag(tag): GitCommand("tag", [ "-d", tag ])() + def move_tag(self, old, new): + self.__check_path() + GitCommand("tag", [ new, old ])() + self.remove_tag(old) + def get_branch(self): """on what branch is the current working copy""" self.__check_path() |