changeset 527:8138df69a32e

implement export_tag for git working copy
author Bjoern Ricks <bricks@intevation.de>
date Mon, 15 Nov 2010 14:53:00 +0000
parents 4a56ebc53ada
children e51cf2947fab
files treepkg/git.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/git.py	Mon Nov 15 14:41:03 2010 +0000
+++ b/treepkg/git.py	Mon Nov 15 14:53:00 2010 +0000
@@ -122,6 +122,10 @@
         """Exports the working copy to destdir"""
         self.repository.export(self.localdir, destdir)
 
+    def export_tag(self, url, destdir, revision=None):
+        """Export tag to destir """
+        self.export(destdir)
+
     def last_changed_revision(self):
         """Returns the last changed rev of the working copy"""
         return self.repository.last_changed_revision(self.localdir)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)