tests/test-obsolete.t
changeset 24162 758dd85b6ad6
parent 24136 46d6cdfce4bf
child 24204 d2de20e1451f
equal deleted inserted replaced
24148:7a2194473155 24162:758dd85b6ad6
     9   >    echo "$1" > "$1"
     9   >    echo "$1" > "$1"
    10   >    hg add "$1"
    10   >    hg add "$1"
    11   >    hg ci -m "add $1"
    11   >    hg ci -m "add $1"
    12   > }
    12   > }
    13   $ getid() {
    13   $ getid() {
    14   >    hg id --debug --hidden -ir "desc('$1')"
    14   >    hg log -T "{node}\n" --hidden -r "desc('$1')"
    15   > }
    15   > }
    16 
    16 
    17   $ cat > debugkeys.py <<EOF
    17   $ cat > debugkeys.py <<EOF
    18   > def reposetup(ui, repo):
    18   > def reposetup(ui, repo):
    19   >     class debugkeysrepo(repo.__class__):
    19   >     class debugkeysrepo(repo.__class__):
   619   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'graph'
   619   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'graph'
   620   200 Script output follows
   620   200 Script output follows
   621 
   621 
   622 check filelog view
   622 check filelog view
   623 
   623 
   624   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'log/'`hg id --debug --id`/'babar'
   624   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'log/'`hg log -r . -T "{node}"`/'babar'
   625   200 Script output follows
   625   200 Script output follows
   626 
   626 
   627   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/68'
   627   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/68'
   628   200 Script output follows
   628   200 Script output follows
   629   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/67'
   629   $ "$TESTDIR/get-with-headers.py" --headeronly localhost:$HGPORT 'rev/67'