You can’t lock or unlock subversion file. “‘file’ locked by user ‘your.name’”. Try “svn -force”By neokrates, written on March 22, 2011 |
howto |
- neokrates
- Email: uwarov@yahoo.com
- Website: http://www.thinkplexx.com
- Join date: 05-31-09
- Posts: 20
Rate it
Ad
Poll
What new build tool would you consider as Ant replacement?
- I prefer something else (88%, 7 Votes)
- Nant (13%, 1 Votes)
- Ant is still the best (13%, 1 Votes)
- Rant (0%, 0 Votes)
- Gant (0%, 0 Votes)
Total Voters: 8
Loading ...
Most popular search terms:
You try to lock or unlock file and svn says that the file is locked by user ‘your.name’, locked by you!? In my case simple force helps me out…
Both svn command line locking and unlocking fails. Also, tools like Eclipse and TortoiseSVN can not lock or unlock.
Works for:
- svn, version 1.6.15 (r1038135)
- windows xp
- cygwin
Should work for:
- theoretically, many versions and operating systems, but I have not tried it
problem in my case is solved by:
>svn unlock -force myfile.txt >'myfile.txt' locked by user 'your.name'
and this three commands would have failed:
Simple svn lock fails:
>svn lock myfile.txt >'myfile.txt' locked by user 'your.name'
Simple svn unlock fails:
>svn unlock myfile.txt >'myfile.txt' locked by user 'your.name'
Forcing svn unlock fails:
>svn unlock -force myfile.txt >'myfile.txt' locked by user 'your.name'
Have fun
|
LEARN MORE (amazon bookstore)
|
|
TAGS
|
|
SOCIAL
|
|
INCOMING SEARCH TERMS
|



















use the following command svn unlock –force file:///(specify the path of the file)
Like or Dislike:
2
0