chiark / gitweb /
Remove --undo flags from stg commands and docs
[stgit] / t / t1200-push-modified.sh
index 35c9bdda24b09eeadfdcfce199eac97870f6a540..a591124b97d07a5fd8fd437edfe6413c903493a6 100755 (executable)
@@ -56,7 +56,7 @@ test_expect_success \
 test_expect_success \
     'Rollback the push' '
     (
-        cd bar && stg push --undo &&
+        cd bar && stg undo --hard &&
         [ "$(echo $(stg series --applied --noprefix))" = "" ] &&
         [ "$(echo $(stg series --unapplied --noprefix))" = "p1 p2" ]
     )