comparison tests/basic.t @ 63:f2f9f0c8dd25

Yet another experiment
author Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
date Sun, 18 Dec 2016 21:09:12 +0100
parents b5bccea9b804
children bbd1a915b34c
comparison
equal deleted inserted replaced
62:b5bccea9b804 63:f2f9f0c8dd25
8 8
9 $ export BASE=$WORK_DIR/base 9 $ export BASE=$WORK_DIR/base
10 $ export REP1=$WORK_DIR/rep1 10 $ export REP1=$WORK_DIR/rep1
11 $ export REP2=$WORK_DIR/rep2 11 $ export REP2=$WORK_DIR/rep2
12 $ export REP3=$WORK_DIR/rep3 12 $ export REP3=$WORK_DIR/rep3
13
14 Some verifications, just to make sure
15
16 $ mkdir -p $WORK_DIR
17 $ cd $WORK_DIR
18 $ pwd
13 19
14 First we need appropriate Mercurial configuration file (and variable 20 First we need appropriate Mercurial configuration file (and variable
15 which ensures it is used). 21 which ensures it is used).
16 22
17 $ export HGRCPATH=$WORK_DIR/hgrc 23 $ export HGRCPATH=$WORK_DIR/hgrc
211 (branches are permanent and global, did you want a bookmark?) 217 (branches are permanent and global, did you want a bookmark?)
212 $ hg --cwd $BASE add 218 $ hg --cwd $BASE add
213 adding br1.txt 219 adding br1.txt
214 $ hg --cwd $BASE commit -m 'Br1' 220 $ hg --cwd $BASE commit -m 'Br1'
215 221
216 $ cd $BASE 222 $ hg --cwd $BASE update default
217 $ hg --quiet --cwd $BASE update default 223 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
218 $ cat >> $BASE/file.txt << EOF 224 $ cat >> $BASE/file.txt << EOF
219 > later text 225 > later text
220 > EOF 226 > EOF
221 $ hg --cwd $BASE commit -m 'Normal' 227 $ hg --cwd $BASE commit -m 'Normal'
222 228