aurum / test / cmd-update.ok

{{{1 Modified: fail
1
hsz/nib/!#
hsz L- etalume
e- tes
'>moc.elpmaxe@a< A'=A lacol
'>gro.elpmaxe@b< B'=B lacol
'>vog.elpmaxe@c< C'=C lacol
{
e- tes    
opertset dc    
. hsz.operetaerc/.. pc    
9902 llit ylno krow lliw tset etaD XXX #    
A$ resu-- '02:5 20-10-9991' etad--        
A$ resu-- '03:7 50-10-0002' etad--        
hsz.operc '/}{/}{/rt' e- i- p- lrep    
B$ resu-- '00:51 51-10-0002' etad--        
B$ resu-- '00:41 10-20-0002' etad--        
tsl.senilgh > '/ gh    ^/ sselnu _$ fednu' e- i- p- lrep | hsz.operghc tac    
tsl.seniletad > '/ gh    ^/ sselnu _$ fednu' e- i- p- lrep | hsz.operghc tac    
A$ resu-- '32:4 01-50-0002' etad--        
tsl.senild > 'd' perg | hsz.operghc tac    
B$ resu-- '42:31 10-11-0002' etad--        
tsl.senila > 'a' perg | hsz.operghc tac    
A$ resu-- '44:5 20-11-0002' etad--        
tsl.senilba > 'b' perg | tsl.senila tac    
B$ resu-- '31:41 20-11-0002' etad--        
B$ resu-- '41:41 20-11-0002' etad--        
C$ resu-- '00:00 10-10-1002' etad--        
tsl.senilb > 'b' perg | hsz.operghc tac    
A$ resu-- '81:50 10-20-1002' etad--        
A$ resu-- '91:50 10-20-1002' etad--        
tsl.senilc > 'c' perg | tros | hsz.operghc tac    
B$ resu-- '65:41 10-20-1002' etad--        
B$ resu-- '25:65:41 10-20-1002' etad--        
C$ resu-- '00:00 10-10-2002' etad--        
C$ resu-- '51:00:00 10-10-2002' etad--        
C$ resu-- '03:00:00 10-10-2002' etad--        
C$ resu-- '54:00:00 10-10-2002' etad--        
A$ resu-- '00:50 01-20-2002' etad--        
tsl.senilghon > '/ gh    ^/ fi _$ fednu' e- i- p- lrep | hsz.operghc tac    
B$ resu-- '33:51 01-20-2002' etad--        
tsl.versenilghon > ver | tsl.senilghon tac    
B$ resu-- '10:61 01-20-2002' etad--        
tsl.01derongi > 'n\'$ ' ' rt | 01 1 qes    
A$ resu-- '51:30 11-20-2002' etad--        
erongigh. > '*derongin\bolg :xatnys'$ ohce    
A$ resu-- '34:50 11-20-2002' etad--        
tsl.versenilghon >> cba ohce    
feddedda dda gh && feddedda > 'feD' ohce    
tsl.senilghon mr    
tsl.versenilgh > ver | tsl.senilgh tac    
cbaderongi > 'cbA' ohce    
}
opertset zx.rat.opertset fJc rat
abc
{{{1 Modified: force
1
hsz/nib/!#
hsz L- etalume
e- tes
'>moc.elpmaxe@a< A'=A lacol
'>gro.elpmaxe@b< B'=B lacol
'>vog.elpmaxe@c< C'=C lacol
{
e- tes    
opertset dc    
. hsz.operetaerc/.. pc    
9902 llit ylno krow lliw tset etaD XXX #    
A$ resu-- '02:5 20-10-9991' etad--        
A$ resu-- '03:7 50-10-0002' etad--        
hsz.operc '/}{/}{/rt' e- i- p- lrep    
B$ resu-- '00:51 51-10-0002' etad--        
B$ resu-- '00:41 10-20-0002' etad--        
tsl.senilgh > '/ gh    ^/ sselnu _$ fednu' e- i- p- lrep | hsz.operghc tac    
tsl.seniletad > '/ gh    ^/ sselnu _$ fednu' e- i- p- lrep | hsz.operghc tac    
A$ resu-- '32:4 01-50-0002' etad--        
tsl.senild > 'd' perg | hsz.operghc tac    
B$ resu-- '42:31 10-11-0002' etad--        
tsl.senila > 'a' perg | hsz.operghc tac    
A$ resu-- '44:5 20-11-0002' etad--        
tsl.senilba > 'b' perg | tsl.senila tac    
B$ resu-- '31:41 20-11-0002' etad--        
B$ resu-- '41:41 20-11-0002' etad--        
C$ resu-- '00:00 10-10-1002' etad--        
tsl.senilb > 'b' perg | hsz.operghc tac    
A$ resu-- '81:50 10-20-1002' etad--        
A$ resu-- '91:50 10-20-1002' etad--        
tsl.senilc > 'c' perg | tros | hsz.operghc tac    
B$ resu-- '65:41 10-20-1002' etad--        
B$ resu-- '25:65:41 10-20-1002' etad--        
C$ resu-- '00:00 10-10-2002' etad--        
C$ resu-- '51:00:00 10-10-2002' etad--        
C$ resu-- '03:00:00 10-10-2002' etad--        
C$ resu-- '54:00:00 10-10-2002' etad--        
A$ resu-- '00:50 01-20-2002' etad--        
tsl.senilghon > '/ gh    ^/ fi _$ fednu' e- i- p- lrep | hsz.operghc tac    
B$ resu-- '33:51 01-20-2002' etad--        
tsl.versenilghon > ver | tsl.senilghon tac    
B$ resu-- '10:61 01-20-2002' etad--        
tsl.01derongi > 'n\'$ ' ' rt | 01 1 qes    
A$ resu-- '51:30 11-20-2002' etad--        
erongigh. > '*derongin\bolg :xatnys'$ ohce    
A$ resu-- '34:50 11-20-2002' etad--        
tsl.versenilghon >> cba ohce    
feddedda dda gh && feddedda > 'feD' ohce    
tsl.senilghon mr    
tsl.versenilgh > ver | tsl.senilgh tac    
cbaderongi > 'cbA' ohce    
}
opertset zx.rat.opertset fJc rat
{{{1 Rev
0
#!/bin/zsh
emulate -L zsh
set -e
local A='A <a@example.com>'
local B='B <b@example.org>'
local C='C <c@example.gov>'
{
    set -e
    hg init testrepo
    cd testrepo
    cp ../createrepo.zsh .
    # XXX Date test will work only till 2099
    hg commit -A -m 'Added «createrepo.zsh»' \
        --date '1999-01-02 5:20' --user $A
    hg mv createrepo.zsh crepo.zsh
    hg commit -A -m 'Renamed «createrepo.zsh» to «crepo.zsh»' \
        --date '2000-01-05 7:30' --user $A
    perl -p -i -e 'tr/{}/{}/' crepo.zsh
    hg commit -m $'Replaced\n    {\n        ...\n    }\nwith\n    {\n        ...\n    }' \
        --date '2000-01-15 15:00' --user $B
    hg mv crepo.zsh chgrepo.zsh
    hg commit -A -m 'Renamed «crepo.zsh» to «chgrepo.zsh»' \
        --date '2000-02-01 14:00' --user $B
    cat chgrepo.zsh | perl -p -i -e 'undef $_ unless /^    hg /' > hglines.lst
    cat chgrepo.zsh | perl -p -i -e 'undef $_ unless /^    hg /' > datelines.lst
    hg commit -A -m 'Added «hglines.lst» and «datelines.lst»' \
        --date '2000-05-10 4:23' --user $A
    hg branch A
    cat chgrepo.zsh | grep 'd' > dlines.lst
    hg commit -A -m 'Added dlines.lst' \
        --date '2000-11-01 13:24' --user $B
    hg branch B
    cat chgrepo.zsh | grep 'a' > alines.lst
    hg commit -A -m 'Added alines.lst' \
        --date '2000-11-02 5:44' --user $A
    hg branch C
    cat alines.lst | grep 'b' > ablines.lst
    hg commit -A -m 'Added ablines.lst' \
        --date '2000-11-02 14:13' --user $B
    hg tag ablines \
        --date '2000-11-02 14:14' --user $B
    hg update default
    hg merge -r ablines
    hg commit -m 'Merge from C' \
        --date '2001-01-01 00:00' --user $C
    hg update C
    cat chgrepo.zsh | grep 'b' > blines.lst
    hg commit -A -m 'Added blines.lst' \
        --date '2001-02-01 05:18' --user $A
    hg tag blines \
        --date '2001-02-01 05:19' --user $A
    hg update -r -2
    cat chgrepo.zsh | sort | grep 'c' > clines.lst
    hg commit -A -m 'Added clines.lst' \
        --date '2001-02-01 14:56' --user $B
    hg tag clines \
        --date '2001-02-01 14:56:52' --user $B
    hg update A
    hg merge -r B
    hg commit -m 'Merge from B' \
        --date '2002-01-01 00:00' --user $C
    hg merge -r clines
    hg commit -m 'Merge from C:2' \
        --date '2002-01-01 00:00:15' --user $C
    hg update default
    hg merge -r blines
    hg commit -m 'Merge from C:1' \
        --date '2002-01-01 00:00:30' --user $C
    hg merge -r A
    hg commit -m 'Merge from A' \
        --date '2002-01-01 00:00:45' --user $C
    hg cp hglines.lst hglines2.lst
    hg commit -A -m 'Copied hglines.lst to hglines2.lst”' \
        --date '2002-02-10 05:00' --user $A
    cat chgrepo.zsh | perl -p -i -e 'undef $_ if /^    hg /' > nohglines.lst
    hg commit -A -m 'Added nohglines.lst' \
        --date '2002-02-10 15:33' --user $B
    cat nohglines.lst | rev > nohglinesrev.lst
    hg commit -A -m 'Added nohglinesrev.lst' \
        --date '2002-02-10 16:01' --user $B
    seq 1 10 | tr ' ' $'\n' > ignored10.lst
    hg commit -A -m 'Added ignored10.lst' \
        --date '2002-02-11 03:15' --user $A
    echo $'syntax: glob\nignored*' > .hgignore
    hg commit -A -m 'Added .hgignore' \
        --date '2002-02-11 05:43' --user $A
    echo abc >> nohglinesrev.lst
    echo 'Def' > addeddef && hg add addeddef
    hg rm hglines2.lst
    rm nohglines.lst
    cat hglines.lst | rev > hglinesrev.lst
    echo 'Abc' > ignoredabc
}
tar cJf testrepo.tar.xz testrepo
{{{1 Rev + repo
0
#!/bin/zsh
emulate -L zsh
set -e
local A='A <a@example.com>'
local B='B <b@example.org>'
local C='C <c@example.gov>'
(
    set -e
    hg init testrepo
    cd testrepo
    cp ../createrepo.zsh .
    # XXX Date test will work only till 2099
    hg commit -A -m 'Added «createrepo.zsh»' \
        --date '1999-01-02 5:20' --user $A
    hg mv createrepo.zsh crepo.zsh
    hg commit -A -m 'Renamed «createrepo.zsh» to «crepo.zsh»' \
        --date '2000-01-05 7:30' --user $A
    perl -p -i -e 'tr/()/{}/' crepo.zsh
    hg commit -m $'Replaced\n    (\n        ...\n    )\nwith\n    {\n        ...\n    }' \
        --date '2000-01-15 15:00' --user $B
    hg mv crepo.zsh chgrepo.zsh
    hg commit -A -m 'Renamed «crepo.zsh» to «chgrepo.zsh»' \
        --date '2000-02-01 14:00' --user $B
    cat chgrepo.zsh | perl -p -i -e 'undef $_ unless /^    hg /' > hglines.lst
    cat chgrepo.zsh | perl -p -i -e 'undef $_ unless /^    hg /' > datelines.lst
    hg commit -A -m 'Added «hglines.lst» and «datelines.lst»' \
        --date '2000-05-10 4:23' --user $A
    hg branch A
    cat chgrepo.zsh | grep 'd' > dlines.lst
    hg commit -A -m 'Added dlines.lst' \
        --date '2000-11-01 13:24' --user $B
    hg branch B
    cat chgrepo.zsh | grep 'a' > alines.lst
    hg commit -A -m 'Added alines.lst' \
        --date '2000-11-02 5:44' --user $A
    hg branch C
    cat alines.lst | grep 'b' > ablines.lst
    hg commit -A -m 'Added ablines.lst' \
        --date '2000-11-02 14:13' --user $B
    hg tag ablines \
        --date '2000-11-02 14:14' --user $B
    hg update default
    hg merge -r ablines
    hg commit -m 'Merge from C' \
        --date '2001-01-01 00:00' --user $C
    hg update C
    cat chgrepo.zsh | grep 'b' > blines.lst
    hg commit -A -m 'Added blines.lst' \
        --date '2001-02-01 05:18' --user $A
    hg tag blines \
        --date '2001-02-01 05:19' --user $A
    hg update -r -2
    cat chgrepo.zsh | sort | grep 'c' > clines.lst
    hg commit -A -m 'Added clines.lst' \
        --date '2001-02-01 14:56' --user $B
    hg tag clines \
        --date '2001-02-01 14:56:52' --user $B
    hg update A
    hg merge -r B
    hg commit -m 'Merge from B' \
        --date '2002-01-01 00:00' --user $C
    hg merge -r clines
    hg commit -m 'Merge from C:2' \
        --date '2002-01-01 00:00:15' --user $C
    hg update default
    hg merge -r blines
    hg commit -m 'Merge from C:1' \
        --date '2002-01-01 00:00:30' --user $C
    hg merge -r A
    hg commit -m 'Merge from A' \
        --date '2002-01-01 00:00:45' --user $C
    hg cp hglines.lst hglines2.lst
    hg commit -A -m 'Copied hglines.lst to hglines2.lst”' \
        --date '2002-02-10 05:00' --user $A
    cat chgrepo.zsh | perl -p -i -e 'undef $_ if /^    hg /' > nohglines.lst
    hg commit -A -m 'Added nohglines.lst' \
        --date '2002-02-10 15:33' --user $B
    cat nohglines.lst | rev > nohglinesrev.lst
    hg commit -A -m 'Added nohglinesrev.lst' \
        --date '2002-02-10 16:01' --user $B
    seq 1 10 | tr ' ' $'\n' > ignored10.lst
    hg commit -A -m 'Added ignored10.lst' \
        --date '2002-02-11 03:15' --user $A
    echo $'syntax: glob\nignored*' > .hgignore
    hg commit -A -m 'Added .hgignore' \
        --date '2002-02-11 05:43' --user $A
    echo abc >> nohglinesrev.lst
    echo 'Def' > addeddef && hg add addeddef
    hg rm hglines2.lst
    rm nohglines.lst
    cat hglines.lst | rev > hglinesrev.lst
    echo 'Abc' > ignoredabc
)
tar cJf testrepo.tar.xz testrepo
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.