Re: svn 1.7: how to recover from a lost pristine file
From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 28 Mar 2012 13:12:26 +0100
Johan Corveleyn <jcorvel_at_gmail.com> writes:
> For some reason, I lost a pristine file [*] in a 1.7 working copy. I'm
Use the sqlite3 utility
sqlite3 .svn/wc.db "select * from work_queue"
These may show something:
sqlite3 wc/.svn/wc.db "select * from nodes where local_relpath = '/the/file/with/missing/pristine.java'"
sqlite3 wc/.svn/wc.db "select * from nodes where checksum like '%6d6e0892990e945b03a15b8e518dbef26848dc75'"
sqlite3 wc/.svn/wc.db "select * from pristine where checksum like '%6d6e0892990e945b03a15b8e518dbef26848dc75'"
Depending on what the work_queue shows you may be able to further
sqlite .svn/wc.db "delete from work_queue"
IMPORTANT! Deleting the work_queue does generally make the working copy
-- PhilipReceived on 2012-03-28 14:13:06 CEST |
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.