Ticket #4900 (new defect)
The default svn ChangeCollector information about deleted paths is incomplete
| Reported by: | cboos | Owned by: | cboos |
|---|---|---|---|
| Priority: | high | Milestone: | 0.12 |
| Component: | version control | Version: | |
| Severity: | normal | Keywords: | svn |
| Cc: | trac@…, nick-trac@… |
Description
eblot reported that a svn remove below a folder just copied in the working copy (the copy being not yet committed) is wrongly reported by Trac as happening below the source of the copy.
i.e.
$ svn cp ../vendor/zlib packages/zlib $ svn rm packages/zlib/Makefile $ svn ci Committed revision 2099.
is stored in node_change as:
... 2099|vendor/zlib/Makefile|F|D|vendor/zlib/Makefile|2098
whereas it should have been something like:
... 2099|trunk/packages/zlib/Makefile|F|D|vendor/zlib/Makefile|2098
The problem is that we're using the default ChangeCollector from the svn.repos module, which deliberately omits this information: see repos.py.
So we should instead use our own change collector.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


