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

why last-change user is '?'; causes problem with `svn lock`

From: Jeff Smith <jsmith_at_robotronics.com>
Date: 2007-04-05 23:15:17 CEST

I was trying to experiment with the Lock-Modify-Unlock model, but
another problem is getting in the way...

 svn st -v --show-updates plans.txt
M O 61 61 ? plans.txt
Status against revision: 61

- Why does my username not seem to tracked, just shows '?' for
last-changed user?

Since I locked plans.txt in a different WC, here I should see who
locked it but instead I get this:
 svn ci plans.txt -m"try ci but it is locked"
Sending plans.txt
Transmitting file data .svn: Commit failed (details follow):
svn: Cannot verify lock on path '/branches/wireless/plans.txt'; no
username available

===== err should look like example from svnbook: ====
 svn commit -m "Delete useless file."
Deleting banana.jpg
svn: Commit failed (details follow):
svn: DELETE of
'/repos/project/!svn/wrk/64bad3a9-96f9-0310-818a-df4224ddc35d/banana.jpg':
423 Locked (http://svn.example.com)
=========

# looking in the repository:
 svn info svn://localhost/robox/branches/wireless/plans.txt
Path: plans.txt
Name: plans.txt
URL: svn://localhost/robox/branches/wireless/plans.txt
Repository Root: svn://localhost/robox
Repository UUID: 1a54544f-2810-0410-b47b-ce956a50571d
Revision: 61
Node Kind: file
Last Changed Rev: 61
Last Changed Date: 2007-04-05 14:53:13 -0600 (Thu, 05 Apr 2007)
Lock Token: opaquelocktoken:3d8b9cd9-632d-0410-83b5-9cec223371aa
Lock Owner: jsmith
Lock Created: 2007-04-05 14:59:42 -0600 (Thu, 05 Apr 2007)

# check URL to see that I have the same object in my WC:
 svn info plans.txt
Path: plans.txt
Name: plans.txt
URL: svn://localhost/robox/branches/wireless/plans.txt
Repository Root: svn://localhost/robox
Repository UUID: 1a54544f-2810-0410-b47b-ce956a50571d
Revision: 61
Node Kind: file
Schedule: normal
Last Changed Rev: 61
Last Changed Date: 2007-04-05 14:53:13 -0600 (Thu, 05 Apr 2007)
Text Last Updated: 2007-04-05 11:00:24 -0600 (Thu, 05 Apr 2007)
Checksum: 5ae0e0bf7772f23ba69a03760c571269

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 5 23:16:44 2007

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