Opened 9 years ago

#4810 new defect

AttributeError: 'TagChangeset' object has no attribute 'branchname'

Reported by: ben.menchaca@… Owned by: Emmanuel Blot
Priority: normal Component: RevtreePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


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/


/branch1 /branch2





/day1 /day2


/release1 /release2

Is there a better way? I would like the tags to show up as release/release1, etc, and the branches to be user/branchname.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Emmanuel Blot.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.