tests/test-githelp.t
changeset 35721 f50067fbeead
parent 35720 b3cf58487731
child 38122 26b73fad45d9
equal deleted inserted replaced
35720:b3cf58487731 35721:f50067fbeead
   175   $ hg githelp -- reset --hard HEAD
   175   $ hg githelp -- reset --hard HEAD
   176   hg update --clean .
   176   hg update --clean .
   177 
   177 
   178 githelp for git show --name-status
   178 githelp for git show --name-status
   179   $ hg githelp -- git show --name-status
   179   $ hg githelp -- git show --name-status
   180   hg log --style status -r tip
   180   hg log --style status -r .
   181 
   181 
   182 githelp for git show --pretty=format: --name-status
   182 githelp for git show --pretty=format: --name-status
   183   $ hg githelp -- git show --pretty=format: --name-status
   183   $ hg githelp -- git show --pretty=format: --name-status
   184   hg stat --change tip
   184   hg status --change .
   185 
   185 
   186 githelp for show with no arguments
   186 githelp for show with no arguments
   187   $ hg githelp -- show
   187   $ hg githelp -- show
   188   hg show
   188   hg export
   189 
   189 
   190 githelp for show with a path
   190 githelp for show with a path
   191   $ hg githelp -- show test_file
   191   $ hg githelp -- show test_file
   192   hg show . test_file
   192   hg cat test_file
   193 
   193 
   194 githelp for show with not a path:
   194 githelp for show with not a path:
   195   $ hg githelp -- show rev
   195   $ hg githelp -- show rev
   196   hg show rev
   196   hg export rev
   197 
   197 
   198 githelp for show with many arguments
   198 githelp for show with many arguments
   199   $ hg githelp -- show argone argtwo
   199   $ hg githelp -- show argone argtwo
   200   hg show argone argtwo
   200   hg export argone argtwo
   201   $ hg githelp -- show test_file argone argtwo
   201   $ hg githelp -- show test_file argone argtwo
   202   hg show . test_file argone argtwo
   202   hg cat test_file argone argtwo
   203 
   203 
   204 githelp for show with --unified options
   204 githelp for show with --unified options
   205   $ hg githelp -- show --unified=10
   205   $ hg githelp -- show --unified=10
   206   hg show --config diff.unified=10
   206   hg export --config diff.unified=10
   207   $ hg githelp -- show -U100
   207   $ hg githelp -- show -U100
   208   hg show --config diff.unified=100
   208   hg export --config diff.unified=100
   209 
   209 
   210 githelp for show with a path and --unified
   210 githelp for show with a path and --unified
   211   $ hg githelp -- show -U20 test_file
   211   $ hg githelp -- show -U20 test_file
   212   hg show . test_file --config diff.unified=20
   212   hg cat test_file --config diff.unified=20
   213 
   213 
   214 githelp for stash drop without name
   214 githelp for stash drop without name
   215   $ hg githelp -- git stash drop
   215   $ hg githelp -- git stash drop
   216   hg shelve -d <shelve name>
   216   hg shelve -d <shelve name>
   217 
   217