r14505 - gnucash/branches/2.0 - Handle the case of a user who has svk but hasn't configured it. (#347403).

Derek Atkins warlord at cvs.gnucash.org
Sat Jul 15 11:04:25 EDT 2006


Author: warlord
Date: 2006-07-15 11:04:24 -0400 (Sat, 15 Jul 2006)
New Revision: 14505
Trac: http://svn.gnucash.org/trac/changeset/14505

Modified:
   gnucash/branches/2.0/
   gnucash/branches/2.0/util/gnc-svnversion
Log:
Handle the case of a user who has svk but hasn't configured it. (#347403).

Merge from r14489.



Property changes on: gnucash/branches/2.0
___________________________________________________________________
Name: svk:merge
   - d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:12847
   + d2ab10a8-8a95-4986-baff-8d511d9f15b2:/local/gnucash/branches/2.0:12848

Modified: gnucash/branches/2.0/util/gnc-svnversion
===================================================================
--- gnucash/branches/2.0/util/gnc-svnversion	2006-07-15 15:04:19 UTC (rev 14504)
+++ gnucash/branches/2.0/util/gnc-svnversion	2006-07-15 15:04:24 UTC (rev 14505)
@@ -47,7 +47,9 @@
 if test $? != 0 ; then exit 1 ; fi
 
 # Okay, we have 'svk'.  Now see if $real_srcdir is an svk checkout
-svkinfo=`svk info "$real_srcdir" 2>&1`
+# Note that the 'echo n' is to protect against having svk installed
+# without having configured the depotmap.
+svkinfo=`echo n | svk info "$real_srcdir" 2>&1`
 if test $? != 0 ; then exit 1 ; fi
 
 # If we got here, then $real_srcdir is an svk checkout.  Parse out



More information about the gnucash-changes mailing list