Mercurial > hg
view tests/test-convert-cvs-builtincvsps-cvsnt-mergepoints @ 8335:713ec3f9c9de
inotify: Clarify the use of "watcher" name.
Currently, Watcher is a class in inotify.linux.watcher, but it's also a class
in inotify.server . To complicate things further more, the latter has a
'watcher' attribute, an instance of the former class.
When it comes to the 'watcher' attribute of the Server class in inotify.server,
one can get quite confused: is it a Watcher object from inotify.server, or from
inotify.linux.watcher?
Changes:
* in inotify.linux.watcher : nothing
* in inotify.server :
** Watcher class is renamed to RepoWatcher
** server.watcher is renamed to server.repowatcher
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Mon, 04 May 2009 21:18:33 +0900 |
parents | 3e7611a83230 |
children | 1f0f01bc86a5 |
line wrap: on
line source
#!/bin/bash "$TESTDIR/hghave" cvs || exit 80 cvscall() { cvs -f "$@" } hgcat() { hg --cwd src-hg cat -r tip "$1" } echo "[extensions]" >> $HGRCPATH echo "convert = " >> $HGRCPATH echo "graphlog = " >> $HGRCPATH echo "[convert]" >> $HGRCPATH echo "cvsps=builtin" >> $HGRCPATH echo % create cvs repository mkdir cvsmaster cd cvsmaster export CVSROOT=`pwd` export CVS_OPTIONS=-f cd .. cvscall -q -d "$CVSROOT" init cvscall -q checkout -d cvsworktmp . cd cvsworktmp mkdir foo cvscall -q add foo | sed -e 's/Directory .* added to the repository//g' cd foo echo foo > foo.txt cvscall -q add foo.txt cvscall -q ci -m "foo.txt" | sed 's/.*,v.*/checking in/g' cd ../.. rm -rf cvsworktmp cvscall -q checkout -d cvswork foo cd cvswork cvscall -q rtag -b -R MYBRANCH1 foo cvscall -q up -P -r MYBRANCH1 echo bar > foo.txt cvscall -q ci -m "bar" | sed 's/.*,v.*/checking in/g' echo baz > foo.txt cvscall -q ci -m "baz" | sed 's/.*,v.*/checking in/g' cvscall -q rtag -b -R -r MYBRANCH1 MYBRANCH1_2 foo cvscall -q up -P -r MYBRANCH1_2 echo bazzie > foo.txt cvscall -q ci -m "bazzie" | sed 's/.*,v.*/checking in/g' cvscall -q rtag -b -R MYBRANCH1_1 foo cvscall -q up -P -r MYBRANCH1_1 echo quux > foo.txt cvscall -q ci -m "quux" | sed 's/.*,v.*/checking in/g' cvscall -q up -P -jMYBRANCH1 | sed 's/RCS file: .*,v/merging MYBRANCH1/g' echo xyzzy > foo.txt cvscall -q ci -m "merge" | sed 's/.*,v.*/checking in/g' cvscall -q up -P -A cvscall -q up -P -jMYBRANCH1_2 | sed 's/RCS file: .*,v/merging MYBRANCH1_2/g' cvscall -q ci -m "merge" | sed 's/.*,v.*/checking in/g' REALCVS=`which cvs` echo "for x in \$*; do if [ \"\$x\" = \"rlog\" ]; then echo \"RCS file: $CVSROOT/foo/foo.txt,v\"; cat $TESTDIR/test-convert-cvs-builtincvsps-cvsnt-mergepoints.rlog; exit 0; fi; done; $REALCVS \$*" > cvs chmod +x cvs PATH=.:${PATH} hg debugcvsps --parents foo | sed -e 's/Author:.*/Author:/' -e 's/Date:.*/Date:/' cd ..