Ticket #20777 (closed defect: fixed)
Subversion fetch should use peg revisions not operative revisions
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.9.0 |
| Component: | base | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Port: |
Description (last modified by ryandesign@…) (diff)
In order to ensure that a user always gets the same code for a port that checks out from Subversion, MacPorts uses an operative revision (svn co URL -r REV). This is insufficient in the case where the directory being fetched from is renamed or deleted later. MacPorts should use a peg revision instead (svn co URL@REV).
Change History
comment:3 Changed 4 years ago by ryandesign@…
- Status changed from new to assigned
- Owner changed from macports-tickets@… to ryandesign@…
- Description modified (diff)
comment:4 follow-up: ↓ 5 Changed 4 years ago by ryandesign@…
- Milestone changed from MacPorts Future to MacPorts 1.9.0
Fixed in trunk (1.9.0) in r60573.
The fix requires that svn.url contain only the URL, and an error message will now enforce this requirement. There are three ports that violate this, which will be fixed.
Note: See
TracTickets for help on using
tickets.


See #20776 for an example where this was a problem with Etoile.