Opened 15 years ago
Closed 15 years ago
#20777 closed defect (fixed)
Subversion fetch should use peg revisions not operative revisions
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 1.9.0 |
Component: | base | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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 (5)
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Milestone: | → MacPorts Future |
---|
comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
comment:4 follow-up: 5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Milestone: | MacPorts Future → 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.
comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
See #20776 for an example where this was a problem with Etoile.