Ticket #4585 (closed defect: duplicate)
VersionControl API inconsistency
| Reported by: | athomas | Owned by: | cboos |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | version control | Version: | 0.10.3 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
trac.versioncontrol.api.Repository advertises get_node() and has_node() as accepting None as the default rev.
The underlying SVN bindings used by svn_fs.SubversionRepository do not appear to accept None as a rev, and SubversionRepository.has_node() does not have logic to deal with this (get_node() does).
Additionally, SubversionRepository.has_node() accepts a pool argument, while get_node() doesn't. I'm not sure whether this is intentional, but it seemed a bit odd.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


