[Treepkg-commits] r490 - trunk/treepkg
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Nov 15 15:53:00 CET 2010
Author: bricks
Date: 2010-11-15 15:53:00 +0100 (Mon, 15 Nov 2010)
New Revision: 490
Modified:
trunk/treepkg/git.py
Log:
implement export_tag for git working copy
Modified: trunk/treepkg/git.py
===================================================================
--- trunk/treepkg/git.py 2010-11-15 14:41:03 UTC (rev 489)
+++ trunk/treepkg/git.py 2010-11-15 14:53:00 UTC (rev 490)
@@ -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)
More information about the Treepkg-commits
mailing list