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

Support --parents on commit

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • all
    • unscheduled
    • cmdline client
    • None

    Description

      Commit on a child of an added, uncommitted directory fails with the error:
      
      svn: E200009: Commit failed (details follow):
      svn: E200009: '/tmp/test/a' is not known to exist in the repository and is not
      part of the commit, yet its child '/tmp/test/a/b' is part of the commit
      
      This could be solved by enhancing commit to support --parents.
      
      See this discussion in the mailing list:
      
      http://svn.haxx.se/users/archive-2013-07/0309.shtml
      
      The particular use case we are facing is in the context of hardware design where
      a directory tree corresponding to a new hardware component is created and added,
      but we only want to commit a sub-tree (representing one view of the new
      component). Other views of the component may be committed later or may be
      reverted without ever being committed.
      
      The workaround in place is to commit the parent(s) with --depth=empty then
      commit the children, but this is time-consuming and error-prone if the user
      omits --depth=empty on the parent commit.
      

      Original issue reported by ferguss

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: