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

svnsync should set revprops as part of commit

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • ---
    • ---
    • svnsync
    • None

    Description

      'svnsync' currently works by doing a commit, then copying revprops up a moment
      later.  The problem is that if something like mailer.py is installed, it (often)
      will generate commit emails before the revprops are pushed.  This results in
      emails that have missing revprops -- no svn:log typically, and svn:author is
      usually wrong too (usually the account running svnsync, rather than the proper
      author.)
      
      The solution here is to make svnsync notice if the server is 1.5, and if so, use
      the new commit API to set revprops directly on the uncommitted txn, so that it
      only needs to do *one* commit, just like 'svn commit' does.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            sussman Ben Collins-Sussman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: