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

'svn log' for switched file reports for unswitched file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 0.23
    • libsvn_wc
    • None

    Description

      Create a file. Copy parent directory to branch. Change both copies of
      the file. Switch a working copy file. Running log on the working copy
      file reports on unswitched file.
      
      $ svnadmin create repo
      $ svn mkdir file://`pwd`/repo/trunk
      $ svn co file://`pwd`/repo/trunk wc
      $ echo foo > wc/foo
      $ svn add wc/foo
      $ svn ci -m "trunk create" wc
      $ svn cp -m "branch cp" file://`pwd`/repo/trunk file://`pwd`/repo/branch
      $ svn ps x x wc/foo
      $ svn ci -m "trunk ps" wc
      $ svn sw file://`pwd`/repo/branch/foo wc/foo
      $ svn ps y y wc/foo
      $ svn ci -m "branch ps" wc
      
      Now
      
      $ svn log file://`pwd`/repo/branch/foo
      
      is as expected, but
      
      $ svn log wc/foo
      
      shows the log for the trunk.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            philipm Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: