Paste number 49343: Example problem

Index of paste annotations: 5 | 4 | 3 | 2 | 1

Paste number 49343: Example problem
Pasted by: RevRagnaok
When:2 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+122N
Channel:#svn
Paste contents:
Raw Source | XML | Display As
admaras@brisingamen ~
$ svn co http://192.168.x.x/svn/vhdl_bn tempo
A    tempo/BN_import.tcl
A    tempo/sv_iface.vhd
A    tempo/bn.ucf
A    tempo/FWFT_FIFO_512x32.ngc
A    tempo/FWFT_FIFO_512x32.xco
A    tempo/Bn_export.tcl
A    tempo/bn.vhd
A    tempo/FWFT_FIFO_512x32.vho
A    tempo/pci_interface.vhd
A    tempo/FWFT_FIFO_512x32.vhd
A    tempo/clocks.vhd
Checked out revision 83.

admaras@brisingamen ~
$ cd tempo

admaras@brisingamen ~/tempo
$ touch bn.bit

admaras@brisingamen ~/tempo
$ svn add bn.bit
A         bn.bit

admaras@brisingamen ~/tempo
$ svn ci -m "Added bit file."
Authentication realm: <http://192.168.x.x:80> Subversion
Password for 'admaras':
Adding         bn.bit
svn: Commit failed (details follow):
svn: File '/svn/vhdl_bn/bn.bit' already exists

admaras@brisingamen ~/tempo
$

Annotations for this paste:

Annotation number 5: For posterity...
Pasted by: RevRagnarok
When:2 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+122N/5
Paste contents:
Raw Source | Display As
ojacobson was my hero - the file was locked, even tho it didn't exist.

We found it with "svnadmin" on the server.

[root@tracserver tempo]# svnadmin rmlocks /data/svn_repos/vhdl_bn /bn.bit

Don't miss the space in the above line.

Annotation number 4: Using file:/// access
Pasted by: RevRagnarok
When:2 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+122N/4
Paste contents:
Raw Source | Display As
[root@tracserver tempo]# svn ci -m "Adding fake BIT file" --username admaras
Adding         bn.bit
svn: Commit failed (details follow):
svn: Cannot verify lock on path '/trunk/vhdl_bn/bn.bit'; no matching lock-token available

Umm... what? I think I have figured it out - the file previously existed, was locked, and then deleted and the lock didn't get cleared?

Annotation number 3: Locations
Pasted by: RevRagnaok
When:2 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+122N/3
Paste contents:
Raw Source | Display As
Applicable possible locations:

<Location />
  # Redirect to trac only
        RewriteEngine On
        RewriteRule ^/?var/www/html/?$ /trac/ [R=301]
</Location>

<Location /svn>
   DAV svn
   SVNParentPath /data/svn_repos
   <LimitExcept GET PROPFIND OPTIONS REPORT>
      AuthType Basic
      AuthName "Subversion"
      AuthUserFile /data/trac_repos/.htpasswd
      Require valid-user
   </LimitExcept>
</Location>

Annotation number 2: "svn cat"
Pasted by: RevRagnaok
When:2 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+122N/2
Paste contents:
Raw Source | Display As
This gets interesting (suggested by ojacobson):

admaras@brisingamen ~/tempo
$ svn cat http://192.168.x.x/svn/vhdl_bn/bn.bit
svn: GET of '/svn/vhdl_bn/!svn/bc/84/vhdl_bn/bn.bit': 404 Not Found (http://192.168.x.x)

admaras@brisingamen ~/tempo
$ svn cat http://192.168.x.x/svn/vhdl_bn/BN.bit
svn: PROPFIND request failed on '/svn/vhdl_bn/!svn/bc/84/vhdl_bn/BN.bit'
svn: '/svn/sunsignal/!svn/bc/84/vhdl_bn/BN.bit' path not found

So... one is a 404 the other is an invalid path. How weird.

Annotation number 1: Repo seems fine
Pasted by: RevRagnarok
When:2 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+122N/1
Paste contents:
Raw Source | Display As
I did "svnadmin verify ." on the server with no results.

Colorize as:
Show Line Numbers
Index of paste annotations: 5 | 4 | 3 | 2 | 1

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.