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

svn cat (and others?) don't support "-rBASE" locally or "-rWORKING" at all

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • all
    • unscheduled
    • libsvn_client
    • Linux

    Description

      at least svn cat, possible other commands, do not look to the working copy 
      property database, only to the database on the server.
      
      Steps to 
      reproduce:
      1) checkout some files (if you haven't already)
      2) set a 
      property for cat, like svn:eol-style on a file
      3) svn cat that file
      - the 
      property doesn't take effect.
      
      Tracing this issue in gdb, I've checked 
      out a file with no properties, then done a svn propset svn:eol-style 'native' 
      [file].
      Tracing svn cat [file], I find that eol_style in libsvn_client/cat.c 
      always is null.
      
      This is because the property database always gets 
      fetched through DAV (or whatever transport) on svn cat.
      Perhaps it 
      should have a pristine check like svn propget does to determine if we should 
      fetch from the working copy or the server.
      

      Original issue reported by jamesl

      Attachments

        1. 1_cat.c.diff
          2 kB
          Subversion Importer

        Activity

          People

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

            Dates

              Created:
              Updated: