Opened 8 years ago
AttributeError: 'TagChangeset' object has no attribute 'branchname'
|Reported by:||Owned by:||Emmanuel Blot|
Got this using the following regular expression: branch_re = (?:(?P<branch>trunk|(?:branches)/(?P<branchname>(?:john|steve|bob|ron)/[/]+))|(?P<tag>tags/(?P<tagname>(?:releases|daily|john|steve)/[/]+)))(?:/(?P<path>.*))?$
Did I do the regex incorrectly? I am attempting to support a repository with following structure: trunk/ branches/
Is there a better way? I would like the tags to show up as release/release1, etc, and the branches to be user/branchname.