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

Invalid 'svn propedit' doesn't say why the edit isn't allowed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • trunk
    • unscheduled
    • unknown
    • None

    Description

      When we try to set the svn:auto-prop on a file, we get a helpful error message
      that this prop cannot be set on a file:
      
      1.8.0>svn ps svn:auto-props *.foo=svn:eol-style=native FAQ
      ..\..\..\subversion\svn\propset-cmd.c:184,
      ..\..\..\subversion\libsvn_client\prop_commands.c:341,
      ..\..\..\subversion\libsvn_wc\props.c:1950,
      ..\..\..\subversion\libsvn_wc\props.c:1705,
      ..\..\..\subversion\libsvn_wc\props.c:2072,
      ..\..\..\subversion\libsvn_wc\props.c:1561: (apr_err=SVN_ERR_ILLEGAL_TARGET)
      svn: E200009: Cannot set 'svn:auto-props' on a file
      ('C:\SVN\src-branch-1.8.x-2\Release\subversion\tests\cmdline\svn-test-work\working_copies\calc-trunk-wc\F
      )
      
      # When we try the same thing via a propedit, the edit is disallowed,
      # but all we see is that no changes were made, with no explanation
      # as to why:
      
      1.8.0>svn propedit svn:auto-props FAQ
      No changes to property 'svn:auto-props' on 'FAQ'
      
      The propedit should explain why the edit was disallowed.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            pburba Paul Burba
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: