tests/test-glog.t
changeset 12365 22f3353bcc36
parent 12003 a092b91a27c4
child 12399 4fee1fd3de9a
equal deleted inserted replaced
12364:e128fa4615f2 12365:22f3353bcc36
    69 o  (0) root
    69 o  (0) root
    70 
    70 
    71 
    71 
    72   $ "$TESTDIR/hghave" no-outer-repo || exit 80
    72   $ "$TESTDIR/hghave" no-outer-repo || exit 80
    73 
    73 
    74   $ set -e
       
    75 
       
    76   $ commit()
    74   $ commit()
    77   > {
    75   > {
    78   >   rev=$1
    76   >   rev=$1
    79   >   msg=$2
    77   >   msg=$2
    80   >   shift 2
    78   >   shift 2
   679      date:        Thu Jan 01 00:00:00 1970 +0000
   677      date:        Thu Jan 01 00:00:00 1970 +0000
   680      summary:     (0) root
   678      summary:     (0) root
   681   
   679   
   682 
   680 
   683 Unused arguments:
   681 Unused arguments:
   684   $ hg glog -q foo bar || echo failed
   682   $ hg glog -q foo bar
   685   hg glog: invalid arguments
   683   hg glog: invalid arguments
   686   hg glog [OPTION]... [FILE]
   684   hg glog [OPTION]... [FILE]
   687   
   685   
   688   show revision history alongside an ASCII revision graph
   686   show revision history alongside an ASCII revision graph
   689   failed
   687   [255]
   690 
   688 
   691 Empty revision range - display nothing:
   689 Empty revision range - display nothing:
   692   $ hg glog -r 1..0
   690   $ hg glog -r 1..0
   693 
   691 
   694 From outer space:
   692 From outer space: