gbp-pull: update tags, too
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 27 Feb 2013 10:28:11 +0000 (12:28 +0200)
committerGuido Günther <agx@sigxcpu.org>
Fri, 22 Mar 2013 19:57:53 +0000 (20:57 +0100)
To make sure that the tags are in sync with the remote.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/scripts/pull.py

index d188b46..7dad83c 100755 (executable)
@@ -117,6 +117,7 @@ def main(argv):
             raise GbpError
 
         repo.fetch(depth=options.depth)
+        repo.fetch(depth=options.depth, tags=True)
         for branch in branches:
             if not fast_forward_branch(branch, repo, options):
                 retval = 2