Fixed problems with incompatible svn working copy formats.
This commit is contained in:
parent
9bd98e935b
commit
fed13dd108
1 changed files with 1 additions and 3 deletions
|
@ -135,12 +135,10 @@ sit_setperms() {
|
|||
|
||||
sit_sitinfo() {
|
||||
local SIT_VERSION="unknown"
|
||||
if [ "$(svnversion $SIT_PATH)" != "exported" ] ; then
|
||||
if svnversion $SIT_PATH >/dev/null 2>/dev/null && test "$(svnversion $SIT_PATH)" != "exported" ; then
|
||||
SIT_VERSION="svn-r$(svnversion $SIT_PATH)"
|
||||
elif cd $SIT_PATH; git svn find-rev r1 >/dev/null 2>&1 ; then
|
||||
SIT_VERSION="svn-r$(cd $SIT_PATH; git svn find-rev HEAD)";
|
||||
else
|
||||
SIT_VERSION="unknown"
|
||||
fi
|
||||
echo "Invocation: $(ps --pid $$ -o cmd | tail -n 1)"
|
||||
echo "Started: $(date)"
|
||||
|
|
Loading…
Reference in a new issue