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

want to tell of there are uncommitted changes

From: Pat Farrell <pfarrell_at_pfarrell.com>
Date: Thu, 22 Apr 2010 14:32:14 -0400

Hi,

I'm trying to wrap a standard sequence of steps in a shell script
(linux/bash) and can't seem to figure out how to tell of the execution of

svn status

returned anything. For example

~/sandbox/$svn status
? pat/foo
~/sandbox/$echo $?
0

and if I delete the foo file, then the
svn status
return nothing, but the echo $? is still 0

I want to not do some steps if there are uncommiteed changes.

Pointers greatly appreciated.

-- 
Pat Farrell
http://www.pfarrell.com/
Received on 2010-04-22 20:32:47 CEST

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.