Author: dda
Date: 2007-09-27 16:54:57 -0700 (Thu, 27 Sep 2007)
New Revision: 6657

Modified:
   tools/trunk/svn/svn-bash.sh
Log:
Change 20070927-dda-D by [EMAIL PROTECTED] on 2007-09-27 19:34:19 EDT
    in /Users/dda/laszlo/src/svn/tools/trunk
    for http://svn.openlaszlo.org/tools/trunk

Summary: svn-commit should not call exit, it will logout the caller.

New Features:

Bugs Fixed: OBI-58

Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    On certain errors, svn-commit called 'exit'.  But svn-commit
    is a shell function that runs in the user's logon shell, not
    a subshell.  The proper action is to call return.

Tests:
    create a fresh shell process (xterm or Terminal for Mac-OSX).
    run 'svn-commit'.  With the fix, the terminal does not close.



Modified: tools/trunk/svn/svn-bash.sh
===================================================================
--- tools/trunk/svn/svn-bash.sh 2007-09-27 23:40:41 UTC (rev 6656)
+++ tools/trunk/svn/svn-bash.sh 2007-09-27 23:54:57 UTC (rev 6657)
@@ -171,11 +171,11 @@
                 rm -r "${changedir}"
         else
             echo "$changename inaccessible"
-            exit -1
+            return -1
         fi
     else
         echo "No change specified"
-        exit -2
+        return -2
     fi
 }
 


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to