equal
deleted
inserted
replaced
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' |