diff tests/test-githelp.t @ 42397:7752cd3a2f83

githelp: translate git stash show and clear actions and --patch flag Differential Revision: https://phab.mercurial-scm.org/D6461
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 30 May 2019 16:42:38 +0800
parents eddff539f5be
children 5470e63686ca
line wrap: on
line diff
--- a/tests/test-githelp.t	Thu May 30 16:40:34 2019 +0800
+++ b/tests/test-githelp.t	Thu May 30 16:42:38 2019 +0800
@@ -219,6 +219,22 @@
   $ hg githelp -- git stash drop xyz
   hg shelve -d xyz
 
+githelp for stash list with patch
+  $ hg githelp -- git stash list -p
+  hg shelve -l -p
+
+githelp for stash show
+  $ hg githelp -- git stash show
+  hg shelve --stat
+
+githelp for stash show with patch and name
+  $ hg githelp -- git stash show -p mystash
+  hg shelve -p mystash
+
+githelp for stash clear
+  $ hg githelp -- git stash clear
+  hg shelve --cleanup
+
 githelp for whatchanged should show deprecated message
   $ hg githelp -- whatchanged -p
   this command has been deprecated in the git project, thus isn't supported by this tool