1
export DARCS_EMAIL="user@example.com"
3
export PATH="$(pwd)/..:$PATH"
4
pypath="/$(python -c 'from distutils import sysconfig; print sysconfig.get_python_lib()[1:]')/"
8
darcs rec --ignore-times "$@"
13
echo -e "`LANG= LC_ALL= date +"%a %b %d %H:%M:%S %Z %Y"`
15
$@" | darcs rec --ignore-times -a --pipe .
20
echo y |darcs amend-rec --ignore-times -a
42
darcs pull -a ../$1.tmp
44
_drrec_multiline "first line
51
_drrec --author="���� <$DARCS_EMAIL>" -a -m f
53
_drrec --author="" -a -m g
54
cp ../data/hungarian.gif .
55
darcs add hungarian.gif
56
_drrec -a -m "add a binary file"
60
_drrec -a -m "replace file with file2"
63
_drrec -a -m "add empty file"
65
_drrec -a -m "remove file"
69
_drrec -a -m "add empty dirs"
72
_drrec -a -m "rename empty dirs"
76
_drrec -a -m "add a b"
78
_drrec -a -m "remove and rename"
83
# empty commit message
112
third line" | bzr commit -F /dev/stdin
117
#bzr commit --author="���� <$DARCS_EMAIL>" -m f
119
#_drrec --author="" -a -m g
120
cp ../data/hungarian.gif .
121
bzr add hungarian.gif
122
bzr commit -m "add a binary file"
126
bzr commit -m "replace file with file2"
129
bzr commit -m "add empty file"
131
bzr commit -m "remove file"
160
third line" | hg commit -l /dev/stdin
165
#bzr commit --author="���� <$DARCS_EMAIL>" -m f
167
#_drrec --author="" -a -m g
168
cp ../data/hungarian.gif .
170
hg commit -m "add a binary file"
174
hg commit -m "replace file with file2"
177
hg commit -m "add empty file"
179
hg commit -m "remove file"
181
echo test > subdir/file
183
hg commit -m "add subdir file"
184
echo test2 > subdir/file
185
hg commit -m "commit with weird date" -d "Fri Apr 03 12:38:26 2009 +1300"
194
git commit --allow-empty -m 'root commit'
200
git checkout -b tmp HEAD~1
208
third line" | git commit -a -F -
214
git config i18n.commitencoding ISO-8859-2
215
git commit --author="���� <$DARCS_EMAIL>" -a -m f
216
cp ../data/hungarian.gif .
217
git add hungarian.gif
218
git commit -a -m "add a binary file"
222
git commit -a -m "replace file with file2"
225
git commit -a -m "add empty file"
227
git commit -a -m "remove file"
228
# now add back 'file' with its old conents, so the mark gets
232
git commit -a -m "file: other -> f"
233
# this is a boring file for Darcs
236
git commit -a -m "boring file"
237
# replace an uppercase file to a lowercase one
240
git commit -a -m SPAM
244
git commit -a -m "SPAM -> spam"
250
rm -rf $1.git.nonbare
251
git clone -q $1.git $1.git.nonbare
252
diff --exclude _darcs --exclude .git --exclude '*-darcs-backup*' -Nur $1.git.nonbare $1
258
test -z "`(cd $1.darcs; darcs diff)`" &&
259
diff --exclude _darcs --exclude .git --exclude '*-darcs-backup*' -Nur $1 $1.darcs
265
cd $1.darcs && test -z "`darcs diff 2>&1`" && cd .. &&
266
diff --exclude _darcs --exclude .hg --exclude '*-darcs-backup*' --exclude 'hg-export.*' \
267
--exclude '.hgtags' --exclude '*.orig' -Nur $1 $1.darcs
273
cd $1.importdarcs && test -z "`darcs diff 2>&1`" && cd .. &&
274
diff --exclude _darcs --exclude '*-darcs-backup*' -Nur $1 $2
280
cd $1.darcs && test -z "`darcs diff 2>&1`" && cd .. &&
281
diff --exclude _darcs --exclude .bzr --exclude '*-darcs-backup*' -Nur $1 $1.darcs
290
diff --exclude _darcs --exclude .bzr --exclude '*-darcs-backup*' -Nur $1.bzr/trunk $1
297
diff --exclude _darcs --exclude .hg --exclude '*-darcs-backup*' -Nur $1.hg $1
311
_drrec -a -m "updated '$2' to '$3'"
319
git commit -a -m "updated '$2' to '$3'"
327
bzr commit -m "updated '$2' to '$3'"
335
hg commit -m "updated '$2' to '$3'"