Modify ↓
Opened 10 years ago
Closed 10 years ago
#12075 closed defect (worksforme)
trac-admin <env> changeset added fails silently
| Reported by: | Belegnar | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | admin/console | Version: | 1.0-stable |
| Severity: | normal | Keywords: | trac-admin changeset added AttributeError |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
trac 1.0.5 tracmercurial 1.0.0.7
trac-admin <env> changeset added <repo> <number> silently do nothing
debugging brings this error
> /usr/lib/python2.7/cmd.py(218)onecmd()
217 try:
--> 218 func = getattr(self, 'do_' + cmd)
219 except AttributeError:
ipdb> n
AttributeError: "TracAdmin instance has no attribute 'do_changeset'"
which is failed silently in try…except block.
Attachments (0)
Note:
See TracTickets
for help on using tickets.



That is incorrect.
TracAdminclass hasdefaultmethod.See source:/tags/trac-1.0.5/trac/admin/console.py#L270.
If you need CommitTicketUpdater, see TracRepositoryAdmin#Automaticchangesetreferencesintickets and TracRepositoryAdmin#ExplicitSync.