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

'svn cleanup --remove-ignored --remove-unversioned' doesn't accept an ignored or unversioned file as target

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • trunk
    • 1.9.0
    • libsvn_wc
    • None

    Description

      Using a trunk@r1498689, in a trunk@r1498689 wc:
      
      [[[
      % touch foo
      % $svn st foo gen-make.opts
      ?       foo
      I       gen-make.opts
      % $svn cleanup --remove-ignored --remove-unversioned foo                
      subversion/svn/cleanup-cmd.c:112,
      subversion/libsvn_client/cleanup.c:238,
      subversion/libsvn_client/cleanup.c:107,
      subversion/libsvn_wc/cleanup.c:218,
      subversion/libsvn_wc/cleanup.c:149,
      subversion/libsvn_wc/cleanup.c:57: (apr_err=SVN_ERR_WC_NOT_WORKING_COPY)
      svn: E155007: '/home/danielsh/src/svn/t1/foo' is not a working copy directory
      zsh: exit 1     $SVN cleanup --remove-ignored --remove-unversioned foo
      % $svn cleanup --remove-ignored --remove-unversioned gen-make.opts
      subversion/svn/cleanup-cmd.c:112,
      subversion/libsvn_client/cleanup.c:238,
      subversion/libsvn_client/cleanup.c:107,
      subversion/libsvn_wc/cleanup.c:218,
      subversion/libsvn_wc/cleanup.c:149,
      subversion/libsvn_wc/cleanup.c:57: (apr_err=SVN_ERR_WC_NOT_WORKING_COPY)
      svn: E155007: '/home/danielsh/src/svn/t1/gen-make.opts' is not a working copy di
      rectory
      zsh: exit 1     $SVN cleanup --remove-ignored --remove-unversioned gen-make.opts
      ]]]
      
      I expected each of the cleanup invocations to remove the file given to it as target.
      

      Attachments

        Activity

          People

            stsp Stefan Sperling
            danielsh Daniel Shahaf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: