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

Re: cvs2svn error

From: Tobias Ringström <tobias_at_ringstrom.mine.nu>
Date: 2004-02-18 23:36:47 CET

Jack Ivey wrote:
> I ran out of time and blew away the offending file - works great
> now. Thanks again for the help!

OK. You can also fix it by writing a replacement script for co that
checks the result of the real co. Something like the following should
work (though it's untested).

/Tobias

[[[
#!/bin/sh

/path/to/real/co "$@" > co.tmp
if [ $? -eq 0 ]; then
     cat co.tmp
     rm co.tmp
else
     echo "*** The content of this revision was corrupt ***"
fi
]]]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 18 23:37:07 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.