[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Symbolic file replaced by real file causes commit problem

From: Jing-Reng Huang <jrhuang_at_realtek.com.tw>
Date: 2004-08-27 12:52:27 CEST

  Client: Redhat 7.3/Solaris 8 with subversion 1.1.0 RC2
  Server: Redhat Enterprise 3-AS with subversion 1.1.0 RC2 and Apache 2.0.49

  Error Condition:
  1. Replace a versioned symbolic-linked file with a real file directly.
      For example, b-> a
      rm b
      cp a b
  2. Commit the change to server
      svn ci
       The b is successfully committed into server, then everything goes wrong.
  3. All server repository and client side working copy are in severe lock status.
      cleanup nor recover can solve the lock.
  
  Workaround:
   1. Server side: Give up broken HEAD revision
        svnadmin dump repository -r 1:{HEAD-1} | svnadmin load new_target
    2. Client: give-up locked working copy and re-check-out a new one

--
Jing-Reng Huang
Received on Fri Aug 27 12:52:59 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.