4 # For issue855: wish: avoid taking lock if using --dry-run
5 chmod -R u
+w temp2 ||
:
16 darcs record
-am "test"
20 # need to capture this failure so that we can still
21 # chmod -R u+w the directory even if we fail
23 darcs push
--dry-run ..
/temp1 || darcsexit
=$?
25 chmod -R u
+w temp2
# so that other scripts can cleanup
26 if [ $darcsexit -ne 0 ]; then