comparison treepkg/subversion.py @ 228:d2ddd037ddaf

Fix a bug introduced by the subversion interface reorganization
author Bernhard Herzog <bh@intevation.de>
date Fri, 09 Jan 2009 21:13:51 +0000
parents 6bac65dcf258
children e387b879fd38
comparison
equal deleted inserted replaced
227:6199f02bdd32 228:d2ddd037ddaf
77 """Exports the working copy in localdir to destdir""" 77 """Exports the working copy in localdir to destdir"""
78 export(localdir, destdir) 78 export(localdir, destdir)
79 for subdir in self.external_subdirs: 79 for subdir in self.external_subdirs:
80 absdir = os.path.join(destdir, subdir) 80 absdir = os.path.join(destdir, subdir)
81 if not os.path.isdir(absdir): 81 if not os.path.isdir(absdir):
82 subversion.export(os.path.join(localdir, subdir), absdir) 82 export(os.path.join(localdir, subdir), absdir)
83 83
84 def last_changed_revision(self, localdir): 84 def last_changed_revision(self, localdir):
85 """Returns the last changed revision of the working copy in localdir""" 85 """Returns the last changed revision of the working copy in localdir"""
86 return max([last_changed_revision(os.path.join(localdir, d)) 86 return max([last_changed_revision(os.path.join(localdir, d))
87 for d in [localdir] + list(self.external_subdirs)]) 87 for d in [localdir] + list(self.external_subdirs)])
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)