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

Svnadmin dump / load loowes lock information

From: Thompson, Graeme (AELE) <Graeme.Thompson_at_smiths-aerospace.com>
Date: 2007-04-19 14:27:00 CEST

Hi,

I have noticed that when a repository is dumped using svnadmin dump and
them loaded into a fresh repository using svnadmin load it lost all of
the locking information.

Using svn 1.4.3 this be demonstrated with the following steps:

1. svnadmin create --fs-type fsfs testrepo
2. svn co testrepo
3. cd test
4. echo "My test" > testfile.txt
5. svn add testfile.txt
6. svn lock testfile.txt
At this point you will have a repository with 1 locked file in it.

Svnadmin lslocks ../testrepo

Now dump and reload the repository....
7. cd ..
8. svnadmin create --fs-type fsfs testrepo2
9. svnadmin dump testrepo | svnadmin load testrepo2
10. rm -R testrepo
11. mv testrepo2 testrepo

Now list the locks in the repository - all gone!

Svnadmin lslocks testrepo

Which can be confirmed with an svn status -u on the wc, it returns
broken as the lock status.

Is there anyhting that I am missing here?

Thanks,

Graeme

 
************************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 19 14:27:08 2007

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