comparison treepkg/git.py @ 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 b5e0c81c9bcc
comparison
equal deleted inserted replaced
526:4a56ebc53ada 527:8138df69a32e
120 120
121 def export(self, destdir): 121 def export(self, destdir):
122 """Exports the working copy to destdir""" 122 """Exports the working copy to destdir"""
123 self.repository.export(self.localdir, destdir) 123 self.repository.export(self.localdir, destdir)
124 124
125 def export_tag(self, url, destdir, revision=None):
126 """Export tag to destir """
127 self.export(destdir)
128
125 def last_changed_revision(self): 129 def last_changed_revision(self):
126 """Returns the last changed rev of the working copy""" 130 """Returns the last changed rev of the working copy"""
127 return self.repository.last_changed_revision(self.localdir) 131 return self.repository.last_changed_revision(self.localdir)
128 132
129 def list_tags(self, pattern): 133 def list_tags(self, pattern):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)