Howdy folks,
I've got two questions, linked together.
1 - Can a shell script be committed to a repository while it's being run? (I'm guessing no, but figured I should ask first, since this is what I was trying to do)
2 - Once I've tried (and failed at) this, how do I recover from it? I'd like to do this gracefully rather than just blow out all the .svn files that refer to the script... Or is that the proper way to recover this? The docs cover repository repairs (a little), but I can't find anything about a corrupt wc other than "svn cleanup", which doesn't do anything here.
Here's what happens when I try to work on it - I'm using zsh 3.0.5-nt-beta-0.75 under win2k, svn 0.25.0, local repository (client-accessed, no server)
# Check the status
D:\Working\03wc\hacks>svn st
M daily.sh
# Try to commit
D:\Working\03wc\hacks>svn ci -m "Special update"
Sending hacks\daily.sh
Transmitting file data .svn: Working copy text base is corrupt
svn: Commit failed (details follow):
svn: svn_wc_transmit_text_deltas: checksum mismatch for 'D:/Working/03wc/hacks/.
svn/text-base/daily.sh.svn-base':
recorded checksum: 638e8f922d584cefa74af0df1e280bef
actual checksum (hex): e568839b38acb9eb149fb332aeabf312
actual checksum (base64): 5WiDmzisuesUn7MyrqvzEg==
# Try to fix...
D:\Working\03wc\hacks>svn cleanup
D:\Working\03wc\hacks>svn st
M daily.sh
# Can't commit this either...
# Revert to a prior version
D:\Working\03wc\hacks>svn revert daily.sh
Reverted daily.sh
D:\Working\03wc\hacks>svn st --verbose --show-updates
79 75 cedwilli daily.sh
# Make a change, try again
D:\Working\03wc\hacks>svn st
M daily.sh
D:\Working\03wc\hacks>svn ci -m "Special update"
Sending hacks\daily.sh
Transmitting file data .svn: Working copy text base is corrupt
svn: Commit failed (details follow):
svn: svn_wc_transmit_text_deltas: checksum mismatch for 'D:/Working/03wc/hacks/.
svn/text-base/daily.sh.svn-base':
recorded checksum: 638e8f922d584cefa74af0df1e280bef
actual checksum (hex): e568839b38acb9eb149fb332aeabf312
actual checksum (base64): 5WiDmzisuesUn7MyrqvzEg==
TIA,
--Cedric
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 24 23:03:01 2003