Re: Where is Subversion 1.7's pristine copy of a given file?
From: Ryan Schmidt <subversion-2012a_at_ryandesign.com>
Date: Fri, 13 Apr 2012 05:28:41 -0500
On Apr 13, 2012, at 04:58, Daniel Shahaf wrote:
> Ryan Schmidt wrote on Fri, Apr 13, 2012 at 04:55:17 -0500:
There didn't appear to be any traffic to my repository regardless if I added @BASE or not but I added it anyway since you said to.
Here's the new script for anyone interested. Thanks again for your help.
$ cat svntwdiff
# http://svn.haxx.se/users/archive-2012-04/0090.shtml
if [ -z "$1" ]; then
FILE="$1"
if [ ! -f "${FILE}" ]; then
if [ -z "${TMPDIR}" ]; then
svn info "${FILE}" >/dev/null || exit $?
TMPFILE="$(mktemp "${TMPDIR}/svntwdiff.XXXXXXXXXX")"
svn cat "${FILE}"@BASE > "${TMPFILE}"
twdiff --wait --resume "${FILE}" "${TMPFILE}"
rm -f "${TMPFILE}"
|
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.