Ticket #7744 (new defect)
source:path@rev targeting a file below a copied dir may fail
| Reported by: | cboos | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.3 |
| Component: | version control/browser | Version: | 0.11-stable |
| Severity: | minor | Keywords: | svn |
| Cc: |
Description
... when the file has not been modified since the copy and rev predates the copy operation itself.
e.g. source:/branches/0.11-stable/contrib/bugzilla2trac.py@6820#L824 leads to:
No node /branches/0.11-stable/contrib/bugzilla2trac.py at revision 6820
Looking at source:/branches/0.11-stable/contrib/bugzilla2trac.py (without revision spec) works, and indeed shows a revision of r6820 for this file.
This is happening because at r6820, there was no branches/0.11-stable. This behavior is actually "correct" if ...@6820 is supposed to be a peg revision in Subversion terminology, but it's annoying nonetheless, as the TracLinks syntax doesn't allow an alternative way of specifying the revision(*) and anyway I don't think it's a good idea to expose the peg revision vs. operative revision subtleties in Trac (http://svnbook.red-bean.com/en/1.5/svn.advanced.pegrevs.html).
(*) well it does, but source:/branches/0.11-stable/contrib/bugzilla2trac.py?rev=6820 has the same problem


