Mercurial > treepkg > treepkg
comparison treepkg/git.py @ 526:4a56ebc53ada
tag_pkg_parameters is also used in enterprise tags recipe
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Mon, 15 Nov 2010 14:41:03 +0000 |
parents | e73a4bbc35e7 |
children | 8138df69a32e |
comparison
equal
deleted
inserted
replaced
525:e73a4bbc35e7 | 526:4a56ebc53ada |
---|---|
171 except GitError: | 171 except GitError: |
172 pass | 172 pass |
173 return urlrev | 173 return urlrev |
174 | 174 |
175 def tag_pkg_parameters(self, tag_name): | 175 def tag_pkg_parameters(self, tag_name): |
176 # FIXME: Don't hardcore svn tag path and regex | 176 # FIXME: Don't hardcore regex |
177 #match = re.search(r"enterprise[^.]*\.[^.]*\." | 177 #match = re.search(r"enterprise[^.]*\.[^.]*\." |
178 match = re.search(r"enterprise[^.]*" | 178 match = re.search(r"enterprise[^.]*" |
179 r"(?P<date>[0-9]{8})", | 179 r"(?P<date>[0-9]{8})", |
180 tag_name) | 180 tag_name) |
181 if match: | 181 if match: |