Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4202

svn:externals does not accept -rHEAD

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.x
    • Fix Version/s: unscheduled
    • Component/s: unknown
    • Labels:
      None

      Description

      Issue was discussed in user mailing list with the result that this seems to be 
      worth an issue.
      http://mail-archives.apache.org/mod_mbox/subversion-
      users/201206.mbox/%3C27683D441FA8E3478C976D66B97260166746D88E%40WPTXMAIL1.ptx.ax
      way.int%3E
      
      In short, if you consider svn:externals as a kind of embedded checkout, it 
      should behave like a regular checkout and accept the same parameters.
      
      Example:
      svn co -rHEAD path@peg =>
      - checks out HEAD if path still exists on HEAD _and_ a continuous backward 
      history from HEAD to peg does exist as well
      - otherwise: Subversion reports an error (this is in what I am interested in in 
      my use-case)
      
      This is the right and expected bevaviour according to the svn book.
      
      Please enhance svn:externals's syntax to accept HEAD as operative revision and 
      let it work similar to a regular svn checkout.
      
      A simple on-the-fly replacement of -rHEAD by -r{revision of HEAD} on each access 
      should do the job, I guess.
      

      Original issue reported by jruhe

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              subversion-importer Subversion Importer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: