summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <luke@HP-dv6426us-u904.(none)>2009-10-24 02:29:05 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:16 -0600
commit9a23c9f512f04ef3dcbb715e2dccb7a9b8b3036a (patch)
treec0375eb00d9798a5f15d8093ab50dd7620c9dc86
parentacc687b3a74e3c8d750630c323d223f1c63599db (diff)
managing the whole thing with GIT now
-rw-r--r--.files/.pget/pget-0.0.3-0.6.3.4.1.tar.gzbin0 -> 8104 bytes
-rwxr-xr-x.files/.pget/pget-wch232
-rw-r--r--.files/Diff.java896
-rw-r--r--.files/README-0.5.10.xhtml113
-rwxr-xr-x.files/etc/abomination/modules/rvs/commit57
-rwxr-xr-x.files/etc/abomination/modules/rvs/commit.d29
-rwxr-xr-x.files/etc/abomination/modules/rvs/commit.f25
-rwxr-xr-x.files/etc/abomination/modules/rvs/get34
-rwxr-xr-x.files/etc/abomination/modules/rvs/get.d32
-rwxr-xr-x.files/etc/abomination/modules/rvs/get.f22
-rwxr-xr-x.files/etc/abomination/modules/rvs/init18
-rwxr-xr-x.files/etc/abomination/modules/rvs/lib/rvsdb83
-rwxr-xr-x.files/etc/abomination/modules/rvs/lib/stdio57
-rw-r--r--.files/grub-2240-1.abm22
-rw-r--r--.files/grub.abm25
l---------.files/pget1
-rw-r--r--.files/rvs-0.5.10.tarbin0 -> 30720 bytes
-rw-r--r--.files/rvs-0.5.10.tar.gz.bakbin0 -> 30720 bytes
-rw-r--r--.files/rvs-0.8c.tar.gzbin0 -> 239424 bytes
-rw-r--r--.files/rvs-pre-bzr.tarbin0 -> 1607680 bytes
-rw-r--r--.files/rvs-pre-bzr.tar.gz.bakbin0 -> 219578 bytes
-rwxr-xr-x.files/usr/bin/rvs50
-rw-r--r--diff/.bzr/README3
-rw-r--r--diff/.bzr/branch-format1
-rw-r--r--diff/.bzr/branch/branch.conf2
-rw-r--r--diff/.bzr/branch/format1
-rw-r--r--diff/.bzr/branch/last-revision1
-rw-r--r--diff/.bzr/branch/tags0
-rw-r--r--diff/.bzr/checkout/conflicts1
-rw-r--r--diff/.bzr/checkout/dirstatebin0 -> 2727 bytes
-rw-r--r--diff/.bzr/checkout/format1
-rw-r--r--diff/.bzr/repository/format1
-rw-r--r--diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.iixbin0 -> 190 bytes
-rw-r--r--diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.rixbin0 -> 186 bytes
-rw-r--r--diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.six5
-rw-r--r--diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.tixbin0 -> 267 bytes
-rw-r--r--diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.iixbin0 -> 190 bytes
-rw-r--r--diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.rixbin0 -> 186 bytes
-rw-r--r--diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.six5
-rw-r--r--diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.tixbin0 -> 267 bytes
-rw-r--r--diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.iixbin0 -> 190 bytes
-rw-r--r--diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.rixbin0 -> 186 bytes
-rw-r--r--diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.six5
-rw-r--r--diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.tixbin0 -> 269 bytes
-rw-r--r--diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.iixbin0 -> 776 bytes
-rw-r--r--diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.rixbin0 -> 745 bytes
-rw-r--r--diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.six5
-rw-r--r--diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.tixbin0 -> 2295 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.iixbin0 -> 192 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.packbin0 -> 15638 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.rixbin0 -> 188 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.six5
-rw-r--r--diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.tixbin0 -> 388 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.iixbin0 -> 190 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.packbin0 -> 1331 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.rixbin0 -> 186 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.six5
-rw-r--r--diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.tixbin0 -> 267 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.iixbin0 -> 187 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.packbin0 -> 1561 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.rixbin0 -> 187 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.six5
-rw-r--r--diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.tixbin0 -> 267 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.iixbin0 -> 489 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.packbin0 -> 40942 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.rixbin0 -> 467 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.six5
-rw-r--r--diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.tixbin0 -> 1617 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.iixbin0 -> 188 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.packbin0 -> 2551 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.rixbin0 -> 187 bytes
-rw-r--r--diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.six5
-rw-r--r--diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.tixbin0 -> 265 bytes
-rw-r--r--diff/.bzr/repository/pack-namesbin0 -> 261 bytes
-rw-r--r--diff/.bzr/repository/packs/460eb9d2718188684f5db460da266ae5.packbin0 -> 978 bytes
-rw-r--r--diff/.bzr/repository/packs/5fb3e8a43c6057c525436d0a9ee34dfa.packbin0 -> 1255 bytes
-rw-r--r--diff/.bzr/repository/packs/702a8e40bea818fdcbdb08d1a8619382.packbin0 -> 965 bytes
-rw-r--r--diff/.bzr/repository/packs/de98138f38491b0c84994755ad2c1c41.packbin0 -> 61851 bytes
-rw-r--r--diff/COPYING340
-rw-r--r--diff/Makefile.in90
-rwxr-xr-xdiff/configure93
-rw-r--r--diff/diff-daemon.sh156
-rw-r--r--diff/patch-daemon.sh39
m---------pkg0
-rw-r--r--ptranslate/Makefile.in58
-rwxr-xr-xptranslate/configure96
-rw-r--r--ptranslate/ptranslate.sh23
-rw-r--r--ptranslate/translators-posix/Makefile.in70
-rw-r--r--ptranslate/translators-posix/x-bzip2.sh7
-rw-r--r--ptranslate/translators-posix/x-gzip.sh7
-rw-r--r--ptranslate/translators-posix/x-tar.sh4
-rw-r--r--rvs/.bzr/README3
-rw-r--r--rvs/.bzr/branch-format1
-rw-r--r--rvs/.bzr/branch/branch.conf1
-rw-r--r--rvs/.bzr/branch/format1
-rw-r--r--rvs/.bzr/branch/last-revision1
-rw-r--r--rvs/.bzr/branch/tags0
-rw-r--r--rvs/.bzr/checkout/conflicts1
-rw-r--r--rvs/.bzr/checkout/dirstatebin0 -> 10928 bytes
-rw-r--r--rvs/.bzr/checkout/format1
-rw-r--r--rvs/.bzr/repository/format1
-rw-r--r--rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.iixbin0 -> 850 bytes
-rw-r--r--rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.rixbin0 -> 805 bytes
-rw-r--r--rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.six5
-rw-r--r--rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.tixbin0 -> 7480 bytes
-rw-r--r--rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.iixbin0 -> 193 bytes
-rw-r--r--rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.rixbin0 -> 188 bytes
-rw-r--r--rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.six5
-rw-r--r--rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.tixbin0 -> 6933 bytes
-rw-r--r--rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.iixbin0 -> 848 bytes
-rw-r--r--rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.rixbin0 -> 805 bytes
-rw-r--r--rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.six5
-rw-r--r--rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.tixbin0 -> 11129 bytes
-rw-r--r--rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.iixbin0 -> 784 bytes
-rw-r--r--rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.rixbin0 -> 744 bytes
-rw-r--r--rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.six5
-rw-r--r--rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.tixbin0 -> 6558 bytes
-rw-r--r--rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.iixbin0 -> 847 bytes
-rw-r--r--rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.rixbin0 -> 805 bytes
-rw-r--r--rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.six5
-rw-r--r--rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.tixbin0 -> 6225 bytes
-rw-r--r--rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.iixbin0 -> 849 bytes
-rw-r--r--rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.rixbin0 -> 805 bytes
-rw-r--r--rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.six5
-rw-r--r--rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.tixbin0 -> 7638 bytes
-rw-r--r--rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.iixbin0 -> 842 bytes
-rw-r--r--rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.rixbin0 -> 805 bytes
-rw-r--r--rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.six5
-rw-r--r--rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.tixbin0 -> 7748 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.iixbin0 -> 188 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.packbin0 -> 3378 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.rixbin0 -> 187 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.six5
-rw-r--r--rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.tixbin0 -> 721 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.iixbin0 -> 191 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.packbin0 -> 2187 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.rixbin0 -> 187 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.six5
-rw-r--r--rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.tixbin0 -> 1156 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.iixbin0 -> 190 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.packbin0 -> 922 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.rixbin0 -> 186 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.six5
-rw-r--r--rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.tixbin0 -> 271 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.iixbin0 -> 190 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.packbin0 -> 1047 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.rixbin0 -> 186 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.six5
-rw-r--r--rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.tixbin0 -> 503 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.iixbin0 -> 190 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.packbin0 -> 888 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.rixbin0 -> 186 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.six5
-rw-r--r--rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.tixbin0 -> 277 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.iixbin0 -> 190 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.packbin0 -> 1447 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.rixbin0 -> 187 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.six5
-rw-r--r--rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.tixbin0 -> 929 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.iixbin0 -> 191 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.packbin0 -> 5611 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.rixbin0 -> 187 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.six5
-rw-r--r--rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.tixbin0 -> 1368 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.iixbin0 -> 191 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.packbin0 -> 2026 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.rixbin0 -> 187 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.six5
-rw-r--r--rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.tixbin0 -> 917 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.iixbin0 -> 191 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.packbin0 -> 1990 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.rixbin0 -> 187 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.six5
-rw-r--r--rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.tixbin0 -> 938 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.iixbin0 -> 191 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.packbin0 -> 2818 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.rixbin0 -> 187 bytes
-rw-r--r--rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.six5
-rw-r--r--rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.tixbin0 -> 1606 bytes
-rw-r--r--rvs/.bzr/repository/pack-namesbin0 -> 418 bytes
-rw-r--r--rvs/.bzr/repository/packs/1036c514ea03744eae006a80ded38791.packbin0 -> 64134 bytes
-rw-r--r--rvs/.bzr/repository/packs/4a4922cd90a3494c98c5295b6067aab2.packbin0 -> 24078 bytes
-rw-r--r--rvs/.bzr/repository/packs/4f10fb86e70521af6c4653097e8afe8f.packbin0 -> 71510 bytes
-rw-r--r--rvs/.bzr/repository/packs/84cda64e8317cee9cb126d20fa03c28d.packbin0 -> 46883 bytes
-rw-r--r--rvs/.bzr/repository/packs/8b3293862c68c34355a8179f163f4587.packbin0 -> 21927 bytes
-rw-r--r--rvs/.bzr/repository/packs/c1e3c765aa14449d0e2caa0bcd56e6af.packbin0 -> 30942 bytes
-rw-r--r--rvs/.bzr/repository/packs/e6c5cf230e92b3d72d6e11c6623918d3.packbin0 -> 39933 bytes
187 files changed, 2830 insertions, 0 deletions
diff --git a/.files/.pget/pget-0.0.3-0.6.3.4.1.tar.gz b/.files/.pget/pget-0.0.3-0.6.3.4.1.tar.gz
new file mode 100644
index 0000000..cfec9fe
--- /dev/null
+++ b/.files/.pget/pget-0.0.3-0.6.3.4.1.tar.gz
Binary files differ
diff --git a/.files/.pget/pget-wch b/.files/.pget/pget-wch
new file mode 100755
index 0000000..f7e9e25
--- /dev/null
+++ b/.files/.pget/pget-wch
@@ -0,0 +1,232 @@
+#!/bin/sh
+# pget
+ver="0.6.3.4.1"
+#
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+
+#####################################################################
+#################### Option Handling ####################
+#####################################################################
+mode="get"
+a=""
+file=""
+ua="Pget/$ver"
+base=""
+mode="help"
+while [ $# -gt 0 ]; do; case "$1" in
+ # subsitutions
+ -V | -v | --version) mode="version"; break;;
+ -h | --help ) mode="help"; break;;
+ # directory base
+ -B) base="$2"; shift;;
+ # prepends URL to relative links in -F -i file.
+ --base=*) base="$($1 | sed s/--base=//)";;
+ # user agent
+ -U) ua=$2; shift;;
+ # identify as AGENT instead of Pget/VERSION.
+ --user-agent=*) ua=$($1 | sed s/--user-agent=//);;
+ # file
+ -i) mode="file"; code=$2; shift;;
+ # download URLs found in FILE.
+ --input-file=*)
+ mode="file";
+ code=$($1 | sed "s/--input-file=//");;
+ # not implemented functions
+ -e | --execute=* ) mode="error"; code="$1";;
+ #Recursive download:
+ -r | --recursive ) mode="error"; code="$1";;
+ -l | --level=* ) mode="error"; code="$1";;
+ --delete-after ) mode="error"; code="$1";;
+ -k | --convert-links ) mode="error"; code="$1";;
+ -K | --backup-converted ) mode="error"; code="$1";;
+ -m | --mirror ) mode="error"; code="$1";;
+ --page-requisites ) mode="error"; code="$1";;
+ --strict-comments ) mode="error"; code="$1";;
+ -A | --accept=* ) mode="error"; code="$1";;
+ -R | --reject=* ) mode="error"; code="$1";;
+ -D | --domains=* ) mode="error"; code="$1";;
+ --exclude-domains=* ) mode="error"; code="$1";;
+ --follow-ftp ) mode="error"; code="$1";;
+ --follow-tags=* ) mode="error"; code="$1";;
+ --ignore-tags=* ) mode="error"; code="$1";;
+ -H | --span-hosts ) mode="error"; code="$1";;
+ -L | --relative ) mode="error"; code="$1";;
+ -I | --include-directories=*) mode="error"; code="$1";;
+ -X | --exclude-directories=*) mode="error"; code="$1";;
+ -np | --no-parent ) mode="error"; code="$1";;
+ # removed functions
+ -O | --output-document=* ) mode="wget"; code="$1";;
+ -nc | --no-clobber ) mode="wget"; code="$1";;
+ -c | --continue ) mode="wget"; code="$1";;
+ -N | --timestamping ) mode="wget"; code="$1";;
+ --spider ) mode="wget"; code="$1";;
+ -P | --directory-prefix=* ) mode="wget"; code="$1";;
+ # general handling
+ # these are all wget options that take a second argument
+ -o | -a | -t | -T | -w | -Q) a="$a $1 $2"; shift;;
+ --) shift; break;;
+ -g | -p) break;;
+ -*) a="$a $1";;
+ *) break;; # terminate while loop
+esac
+shift
+done
+
+# all command line switches are processed,
+# "$@" contains all file names
+
+#####################################################################
+#################### The Core ####################
+#####################################################################
+if [ $mode = "file" ]; then
+ set -- $(cat $code | tr '\n' ' ')
+ mode="get"
+fi
+
+if [ $mode = "get" ]; then
+ od=$PWD
+ gz="false"
+ p="false"
+ while [ $# -gt 0 ]; do
+ while [ 1 -gt 0 ]; do
+ case "$1" in
+ -g) gz="true";;
+ -p) p="$2"; shift;;
+ *) break;;
+ esac
+ shift
+ done
+
+ cache="$HOME/.pget/cache/$(dirname $2)"
+ mkdir -p $cache
+ cd $cache
+
+ got="false"
+ file="$1"
+ temp="$HOME/.pget/cache/$2"
+
+ if [ $gz = "true" ]; then
+ echo -n "A cached copy of the archive "
+ if [ -e $temp ]; then
+ echo "already exists"
+ before="$(stat -c %Y $temp)"
+ else
+ echo "does not exist"
+ before="false"
+ fi
+ else
+ if [ -e $file ]; then
+ echo "A local copy already exists"
+ before="$(stat -c %Y $file)"
+ mv $file $temp
+ else
+ echo "A local copy does not exist"
+ before="false"
+ fi
+ fi
+
+ cd "$cache"
+ echo "\033[31m"
+ wget -N -U "$ua" $a $base$2
+ echo "\033[0m"
+ after=$(stat -c %Y $temp)
+ if [ "$before" != "$after" ]; then
+ echo "A new version of the file was retrieved"
+ if [ $gz = "true" ]; then
+ echo "Decompressing..."
+ gunzip -c $temp > $file
+ gz=""
+ else
+ mv $temp $file
+ fi
+
+ if [ $p != "false" ]; then
+ chmod $p $file
+ p="false"
+ fi
+ else
+ echo "A new version of the file was not retreived"
+ if [ $gz = "false" ]; then
+ mv $temp $file
+ fi
+ fi
+ shift 2
+ done
+ cd $od
+fi
+
+#####################################################################
+#################### Messages! ####################
+#####################################################################
+if [ $mode = "wget" ]; then; cat <<__wget__
+You used the $code option."
+This is a valid option in wget, but does not make sense in pget."
+__wget__
+fi
+
+if [ $mode = "error" ]; then; cat <<__error__
+You used the $code option. This is a valid option in wget,"
+but has not been implemented in pget."
+This does not mean it cannot be, it just hasn't yet."
+ PATCHES ARE WELCOME!"
+"
+For more information on pget, try 'pget -h' or 'pget --help'."
+For more information on Wget, try 'wget -h' or 'wget --help'."
+__error__
+fi
+
+if [ $mode = "version" ]; then; cat <<__version__
+pget $ver, running on top of $(wget -V | grep -i wget)"
+"
+pget (but not Wget) is copyright (C) 2009 Luke Shumaker"
+This program is distributed in the hope that it will be useful,"
+but WITHOUT ANY WARRANTY; without even the implied warranty of"
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"
+GNU General Public License for more details."
+"
+Originally written by Luke Shumaker <lukeshu@sbcglobal.net>."
+"
+Use 'wget -V' for more information about Wget"
+__version__
+fi
+
+if [ $mode = "help" ]; then; cat <<__help__
+pget $ver, a non-interactive network retriever for eventual use in a
+package manager and version control system.
+Usage: pget [OPTIONS] [OPTIONS1] [FILE1] [URL1] [OPTIONS2] [FILE2] [URL2]...
+ or: pget [OPTIONS] -i [FILELIST]
+
+Mandatory arguments to long options are mandatory for short options too.
+With arguments to short options, insert a space between them
+ do: -f file
+ don't: -ffile
+
+All of the pget options work are exactly like wget,
+ with the exeption that recursion is disabled,
+ as are
+ -O, --output-document=FILE write documents to FILE.
+ -nc, --no-clobber skip downloads that would download
+ to existing files.
+ -c, --continue resume getting a partially-
+ downloaded file.
+ -N, --timestamping pget always checks timestamps
+ --spider don't download anything.
+ -P, --directory-prefix=PREFIX save files to PREFIX/...
+ and '-e' / '--execute=*' is not implemented [yet],
+
+File options:
+ -g The file needs to be ran throught gunzip.
+ -p PERMISSIONS Run 'chown PERMISSIONS FILENAME' on the
+ file after it is downloaded
+
+Report bugs to <lukeshu@sbcglobal.net>.
+__help__
+fi
+
diff --git a/.files/Diff.java b/.files/Diff.java
new file mode 100644
index 0000000..71e220b
--- /dev/null
+++ b/.files/Diff.java
@@ -0,0 +1,896 @@
+/*
+ * $Log: Diff.java,v $
+ * Revision 1.7 2009/01/19 03:05:26 stuart
+ * Fix StackOverflow bug with heuristic on reported by Jimmy Han.
+ *
+ * Revision 1.6 2003/03/06 22:51:32 stuart
+ * Convert to CVS
+ *
+ * Revision 1.5 2002/07/19 19:14:40 stuart
+ * fix reverseScript, make change ctor public, update docs
+ *
+ * Revision 1.4 2002/04/09 17:53:39 stuart
+ * More flexible interface for diff() function.
+ *
+ * Revision 1.3 2000/03/03 21:58:03 stuart
+ * move discard_confusing_lines and shift_boundaries to class file_data
+ *
+ * Revision 1.2 2000/03/02 16:37:38 stuart
+ * Add GPL and copyright
+ *
+ */
+package bmsi.util;
+
+import java.util.Hashtable;
+
+/** A class to compare vectors of objects. The result of comparison
+ is a list of <code>change</code> objects which form an
+ edit script. The objects compared are traditionally lines
+ of text from two files. Comparison options such as "ignore
+ whitespace" are implemented by modifying the <code>equals</code>
+ and <code>hashcode</code> methods for the objects compared.
+<p>
+ The basic algorithm is described in: </br>
+ "An O(ND) Difference Algorithm and its Variations", Eugene Myers,
+ Algorithmica Vol. 1 No. 2, 1986, p 251.
+<p>
+ This class outputs different results from GNU diff 1.15 on some
+ inputs. Our results are actually better (smaller change list, smaller
+ total size of changes), but it would be nice to know why. Perhaps
+ there is a memory overwrite bug in GNU diff 1.15.
+
+ @author Stuart D. Gathman, translated from GNU diff 1.15
+ Copyright (C) 2000 Business Management Systems, Inc.
+<p>
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+<p>
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+<p>
+ You should have received a copy of the <a href=COPYING.txt>
+ GNU General Public License</a>
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ */
+
+public class Diff {
+
+ /** Prepare to find differences between two arrays. Each element of
+ the arrays is translated to an "equivalence number" based on
+ the result of <code>equals</code>. The original Object arrays
+ are no longer needed for computing the differences. They will
+ be needed again later to print the results of the comparison as
+ an edit script, if desired.
+ */
+ public Diff(Object[] a,Object[] b) {
+ Hashtable h = new Hashtable(a.length + b.length);
+ filevec[0] = new file_data(a,h);
+ filevec[1] = new file_data(b,h);
+ }
+
+ /** 1 more than the maximum equivalence value used for this or its
+ sibling file. */
+ private int equiv_max = 1;
+
+ /** When set to true, the comparison uses a heuristic to speed it up.
+ With this heuristic, for files with a constant small density
+ of changes, the algorithm is linear in the file size. */
+ public boolean heuristic = false;
+
+ /** When set to true, the algorithm returns a guarranteed minimal
+ set of changes. This makes things slower, sometimes much slower. */
+ public boolean no_discards = false;
+
+ private int[] xvec, yvec; /* Vectors being compared. */
+ private int[] fdiag; /* Vector, indexed by diagonal, containing
+ the X coordinate of the point furthest
+ along the given diagonal in the forward
+ search of the edit matrix. */
+ private int[] bdiag; /* Vector, indexed by diagonal, containing
+ the X coordinate of the point furthest
+ along the given diagonal in the backward
+ search of the edit matrix. */
+ private int fdiagoff, bdiagoff;
+ private final file_data[] filevec = new file_data[2];
+ private int cost;
+ /** Snakes bigger than this are considered "big". */
+ private static final int SNAKE_LIMIT = 20;
+
+ /** Find the midpoint of the shortest edit script for a specified
+ portion of the two files.
+
+ We scan from the beginnings of the files, and simultaneously from the ends,
+ doing a breadth-first search through the space of edit-sequence.
+ When the two searches meet, we have found the midpoint of the shortest
+ edit sequence.
+
+ The value returned is the number of the diagonal on which the midpoint lies.
+ The diagonal number equals the number of inserted lines minus the number
+ of deleted lines (counting only lines before the midpoint).
+ The edit cost is stored into COST; this is the total number of
+ lines inserted or deleted (counting only lines before the midpoint).
+
+ This function assumes that the first lines of the specified portions
+ of the two files do not match, and likewise that the last lines do not
+ match. The caller must trim matching lines from the beginning and end
+ of the portions it is going to specify.
+
+ Note that if we return the "wrong" diagonal value, or if
+ the value of bdiag at that diagonal is "wrong",
+ the worst this can do is cause suboptimal diff output.
+ It cannot cause incorrect diff output. */
+
+ private int diag (int xoff, int xlim, int yoff, int ylim) {
+ final int[] fd = fdiag; // Give the compiler a chance.
+ final int[] bd = bdiag; // Additional help for the compiler.
+ final int[] xv = xvec; // Still more help for the compiler.
+ final int[] yv = yvec; // And more and more . . .
+ final int dmin = xoff - ylim; // Minimum valid diagonal.
+ final int dmax = xlim - yoff; // Maximum valid diagonal.
+ final int fmid = xoff - yoff; // Center diagonal of top-down search.
+ final int bmid = xlim - ylim; // Center diagonal of bottom-up search.
+ int fmin = fmid, fmax = fmid; // Limits of top-down search.
+ int bmin = bmid, bmax = bmid; // Limits of bottom-up search.
+ /* True if southeast corner is on an odd
+ diagonal with respect to the northwest. */
+ final boolean odd = (fmid - bmid & 1) != 0;
+
+ fd[fdiagoff + fmid] = xoff;
+ bd[bdiagoff + bmid] = xlim;
+
+ for (int c = 1;; ++c)
+ {
+ int d; /* Active diagonal. */
+ boolean big_snake = false;
+
+ /* Extend the top-down search by an edit step in each diagonal. */
+ if (fmin > dmin)
+ fd[fdiagoff + --fmin - 1] = -1;
+ else
+ ++fmin;
+ if (fmax < dmax)
+ fd[fdiagoff + ++fmax + 1] = -1;
+ else
+ --fmax;
+ for (d = fmax; d >= fmin; d -= 2)
+ {
+ int x, y, oldx, tlo = fd[fdiagoff + d - 1], thi = fd[fdiagoff + d + 1];
+
+ if (tlo >= thi)
+ x = tlo + 1;
+ else
+ x = thi;
+ oldx = x;
+ y = x - d;
+ while (x < xlim && y < ylim && xv[x] == yv[y]) {
+ ++x; ++y;
+ }
+ if (x - oldx > SNAKE_LIMIT)
+ big_snake = true;
+ fd[fdiagoff + d] = x;
+ if (odd && bmin <= d && d <= bmax && bd[bdiagoff + d] <= fd[fdiagoff + d])
+ {
+ cost = 2 * c - 1;
+ return d;
+ }
+ }
+
+ /* Similar extend the bottom-up search. */
+ if (bmin > dmin)
+ bd[bdiagoff + --bmin - 1] = Integer.MAX_VALUE;
+ else
+ ++bmin;
+ if (bmax < dmax)
+ bd[bdiagoff + ++bmax + 1] = Integer.MAX_VALUE;
+ else
+ --bmax;
+ for (d = bmax; d >= bmin; d -= 2)
+ {
+ int x, y, oldx, tlo = bd[bdiagoff + d - 1], thi = bd[bdiagoff + d + 1];
+
+ if (tlo < thi)
+ x = tlo;
+ else
+ x = thi - 1;
+ oldx = x;
+ y = x - d;
+ while (x > xoff && y > yoff && xv[x - 1] == yv[y - 1]) {
+ --x; --y;
+ }
+ if (oldx - x > SNAKE_LIMIT)
+ big_snake = true;
+ bd[bdiagoff + d] = x;
+ if (!odd && fmin <= d && d <= fmax && bd[bdiagoff + d] <= fd[fdiagoff + d])
+ {
+ cost = 2 * c;
+ return d;
+ }
+ }
+
+ /* Heuristic: check occasionally for a diagonal that has made
+ lots of progress compared with the edit distance.
+ If we have any such, find the one that has made the most
+ progress and return it as if it had succeeded.
+
+ With this heuristic, for files with a constant small density
+ of changes, the algorithm is linear in the file size. */
+
+ if (c > 200 && big_snake && heuristic)
+ {
+ int best = 0;
+ int bestpos = -1;
+
+ for (d = fmax; d >= fmin; d -= 2)
+ {
+ int dd = d - fmid;
+ int x = fd[fdiagoff + d];
+ int y = x - d;
+ int v = (x - xoff) * 2 - dd;
+ if (v > 12 * (c + (dd < 0 ? -dd : dd)))
+ {
+ if (v > best
+ && xoff + SNAKE_LIMIT <= x && x < xlim
+ && yoff + SNAKE_LIMIT <= y && y < ylim)
+ {
+ /* We have a good enough best diagonal;
+ now insist that it end with a significant snake. */
+ int k;
+
+ for (k = 1; xvec[x - k] == yvec[y - k]; k++)
+ if (k == SNAKE_LIMIT)
+ {
+ best = v;
+ bestpos = d;
+ break;
+ }
+ }
+ }
+ }
+ if (best > 0)
+ {
+ cost = 2 * c - 1;
+ return bestpos;
+ }
+
+ best = 0;
+ for (d = bmax; d >= bmin; d -= 2)
+ {
+ int dd = d - bmid;
+ int x = bd[bdiagoff + d];
+ int y = x - d;
+ int v = (xlim - x) * 2 + dd;
+ if (v > 12 * (c + (dd < 0 ? -dd : dd)))
+ {
+ if (v > best
+ && xoff < x && x <= xlim - SNAKE_LIMIT
+ && yoff < y && y <= ylim - SNAKE_LIMIT)
+ {
+ /* We have a good enough best diagonal;
+ now insist that it end with a significant snake. */
+ int k;
+
+ for (k = 0; xvec[x + k] == yvec[y + k]; k++)
+ if (k == SNAKE_LIMIT)
+ {
+ best = v;
+ bestpos = d;
+ break;
+ }
+ }
+ }
+ }
+ if (best > 0)
+ {
+ cost = 2 * c - 1;
+ return bestpos;
+ }
+ }
+ }
+ }
+
+ /** Compare in detail contiguous subsequences of the two files
+ which are known, as a whole, to match each other.
+
+ The results are recorded in the vectors filevec[N].changed_flag, by
+ storing a 1 in the element for each line that is an insertion or deletion.
+
+ The subsequence of file 0 is [XOFF, XLIM) and likewise for file 1.
+
+ Note that XLIM, YLIM are exclusive bounds.
+ All line numbers are origin-0 and discarded lines are not counted. */
+
+ private void compareseq (int xoff, int xlim, int yoff, int ylim) {
+ /* Slide down the bottom initial diagonal. */
+ while (xoff < xlim && yoff < ylim && xvec[xoff] == yvec[yoff]) {
+ ++xoff; ++yoff;
+ }
+ /* Slide up the top initial diagonal. */
+ while (xlim > xoff && ylim > yoff && xvec[xlim - 1] == yvec[ylim - 1]) {
+ --xlim; --ylim;
+ }
+
+ /* Handle simple cases. */
+ if (xoff == xlim)
+ while (yoff < ylim)
+ filevec[1].changed_flag[1+filevec[1].realindexes[yoff++]] = true;
+ else if (yoff == ylim)
+ while (xoff < xlim)
+ filevec[0].changed_flag[1+filevec[0].realindexes[xoff++]] = true;
+ else
+ {
+ /* Find a point of correspondence in the middle of the files. */
+
+ int d = diag (xoff, xlim, yoff, ylim);
+ int c = cost;
+ int f = fdiag[fdiagoff + d];
+ int b = bdiag[bdiagoff + d];
+
+ if (c == 1)
+ {
+ /* This should be impossible, because it implies that
+ one of the two subsequences is empty,
+ and that case was handled above without calling `diag'.
+ Let's verify that this is true. */
+ throw new IllegalArgumentException("Empty subsequence");
+ }
+ else
+ {
+ /* Use that point to split this problem into two subproblems. */
+ compareseq (xoff, b, yoff, b - d);
+ /* This used to use f instead of b,
+ but that is incorrect!
+ It is not necessarily the case that diagonal d
+ has a snake from b to f. */
+ compareseq (b, xlim, b - d, ylim);
+ }
+ }
+ }
+
+ /** Discard lines from one file that have no matches in the other file.
+ */
+
+ private void discard_confusing_lines() {
+ filevec[0].discard_confusing_lines(filevec[1]);
+ filevec[1].discard_confusing_lines(filevec[0]);
+ }
+
+ private boolean inhibit = false;
+
+ /** Adjust inserts/deletes of blank lines to join changes
+ as much as possible.
+ */
+
+ private void shift_boundaries() {
+ if (inhibit)
+ return;
+ filevec[0].shift_boundaries(filevec[1]);
+ filevec[1].shift_boundaries(filevec[0]);
+ }
+
+ public interface ScriptBuilder {
+ /** Scan the tables of which lines are inserted and deleted,
+ producing an edit script.
+ @param changed0 true for lines in first file which do not match 2nd
+ @param len0 number of lines in first file
+ @param changed1 true for lines in 2nd file which do not match 1st
+ @param len1 number of lines in 2nd file
+ @return a linked list of changes - or null
+ */
+ public change build_script(
+ boolean[] changed0,int len0,
+ boolean[] changed1,int len1
+ );
+ }
+
+ /** Scan the tables of which lines are inserted and deleted,
+ producing an edit script in reverse order. */
+
+ static class ReverseScript implements ScriptBuilder {
+ public change build_script(
+ final boolean[] changed0,int len0,
+ final boolean[] changed1,int len1)
+ {
+ change script = null;
+ int i0 = 0, i1 = 0;
+ while (i0 < len0 || i1 < len1) {
+ if (changed0[1+i0] || changed1[1+i1]) {
+ int line0 = i0, line1 = i1;
+
+ /* Find # lines changed here in each file. */
+ while (changed0[1+i0]) ++i0;
+ while (changed1[1+i1]) ++i1;
+
+ /* Record this change. */
+ script = new change(line0, line1, i0 - line0, i1 - line1, script);
+ }
+
+ /* We have reached lines in the two files that match each other. */
+ i0++; i1++;
+ }
+
+ return script;
+ }
+ }
+
+ static class ForwardScript implements ScriptBuilder {
+ /** Scan the tables of which lines are inserted and deleted,
+ producing an edit script in forward order. */
+ public change build_script(
+ final boolean[] changed0,int len0,
+ final boolean[] changed1,int len1)
+ {
+ change script = null;
+ int i0 = len0, i1 = len1;
+
+ while (i0 >= 0 || i1 >= 0)
+ {
+ if (changed0[i0] || changed1[i1])
+ {
+ int line0 = i0, line1 = i1;
+
+ /* Find # lines changed here in each file. */
+ while (changed0[i0]) --i0;
+ while (changed1[i1]) --i1;
+
+ /* Record this change. */
+ script = new change(i0, i1, line0 - i0, line1 - i1, script);
+ }
+
+ /* We have reached lines in the two files that match each other. */
+ i0--; i1--;
+ }
+
+ return script;
+ }
+ }
+
+ /** Standard ScriptBuilders. */
+ public final static ScriptBuilder
+ forwardScript = new ForwardScript(),
+ reverseScript = new ReverseScript();
+
+ /* Report the differences of two files. DEPTH is the current directory
+ depth. */
+ public final change diff_2(final boolean reverse) {
+ return diff(reverse ? reverseScript : forwardScript);
+ }
+
+ /** Get the results of comparison as an edit script. The script
+ is described by a list of changes. The standard ScriptBuilder
+ implementations provide for forward and reverse edit scripts.
+ Alternate implementations could, for instance, list common elements
+ instead of differences.
+ @param bld an object to build the script from change flags
+ @return the head of a list of changes
+ */
+ public change diff(final ScriptBuilder bld) {
+
+ /* Some lines are obviously insertions or deletions
+ because they don't match anything. Detect them now,
+ and avoid even thinking about them in the main comparison algorithm. */
+
+ discard_confusing_lines ();
+
+ /* Now do the main comparison algorithm, considering just the
+ undiscarded lines. */
+
+ xvec = filevec[0].undiscarded;
+ yvec = filevec[1].undiscarded;
+
+ int diags =
+ filevec[0].nondiscarded_lines + filevec[1].nondiscarded_lines + 3;
+ fdiag = new int[diags];
+ fdiagoff = filevec[1].nondiscarded_lines + 1;
+ bdiag = new int[diags];
+ bdiagoff = filevec[1].nondiscarded_lines + 1;
+
+ compareseq (0, filevec[0].nondiscarded_lines,
+ 0, filevec[1].nondiscarded_lines);
+ fdiag = null;
+ bdiag = null;
+
+ /* Modify the results slightly to make them prettier
+ in cases where that can validly be done. */
+
+ shift_boundaries ();
+
+ /* Get the results of comparison in the form of a chain
+ of `struct change's -- an edit script. */
+ return bld.build_script(
+ filevec[0].changed_flag,
+ filevec[0].buffered_lines,
+ filevec[1].changed_flag,
+ filevec[1].buffered_lines
+ );
+
+ }
+
+ /** The result of comparison is an "edit script": a chain of change objects.
+ Each change represents one place where some lines are deleted
+ and some are inserted.
+
+ LINE0 and LINE1 are the first affected lines in the two files (origin 0).
+ DELETED is the number of lines deleted here from file 0.
+ INSERTED is the number of lines inserted here in file 1.
+
+ If DELETED is 0 then LINE0 is the number of the line before
+ which the insertion was done; vice versa for INSERTED and LINE1. */
+
+ public static class change {
+ /** Previous or next edit command. */
+ public change link;
+ /** # lines of file 1 changed here. */
+ public final int inserted;
+ /** # lines of file 0 changed here. */
+ public final int deleted;
+ /** Line number of 1st deleted line. */
+ public final int line0;
+ /** Line number of 1st inserted line. */
+ public final int line1;
+
+ /** Cons an additional entry onto the front of an edit script OLD.
+ LINE0 and LINE1 are the first affected lines in the two files (origin 0).
+ DELETED is the number of lines deleted here from file 0.
+ INSERTED is the number of lines inserted here in file 1.
+
+ If DELETED is 0 then LINE0 is the number of the line before
+ which the insertion was done; vice versa for INSERTED and LINE1. */
+ public change(int line0, int line1, int deleted, int inserted, change old) {
+ this.line0 = line0;
+ this.line1 = line1;
+ this.inserted = inserted;
+ this.deleted = deleted;
+ this.link = old;
+ //System.err.println(line0+","+line1+","+inserted+","+deleted);
+ }
+ }
+
+ /** Data on one input file being compared.
+ */
+
+ class file_data {
+
+ /** Allocate changed array for the results of comparison. */
+ void clear() {
+ /* Allocate a flag for each line of each file, saying whether that line
+ is an insertion or deletion.
+ Allocate an extra element, always zero, at each end of each vector.
+ */
+ changed_flag = new boolean[buffered_lines + 2];
+ }
+
+ /** Return equiv_count[I] as the number of lines in this file
+ that fall in equivalence class I.
+ @return the array of equivalence class counts.
+ */
+ int[] equivCount() {
+ int[] equiv_count = new int[equiv_max];
+ for (int i = 0; i < buffered_lines; ++i)
+ ++equiv_count[equivs[i]];
+ return equiv_count;
+ }
+
+ /** Discard lines that have no matches in another file.
+
+ A line which is discarded will not be considered by the actual
+ comparison algorithm; it will be as if that line were not in the file.
+ The file's `realindexes' table maps virtual line numbers
+ (which don't count the discarded lines) into real line numbers;
+ this is how the actual comparison algorithm produces results
+ that are comprehensible when the discarded lines are counted.
+<p>
+ When we discard a line, we also mark it as a deletion or insertion
+ so that it will be printed in the output.
+ @param f the other file
+ */
+ void discard_confusing_lines(file_data f) {
+ clear();
+ /* Set up table of which lines are going to be discarded. */
+ final byte[] discarded = discardable(f.equivCount());
+
+ /* Don't really discard the provisional lines except when they occur
+ in a run of discardables, with nonprovisionals at the beginning
+ and end. */
+ filterDiscards(discarded);
+
+ /* Actually discard the lines. */
+ discard(discarded);
+ }
+
+ /** Mark to be discarded each line that matches no line of another file.
+ If a line matches many lines, mark it as provisionally discardable.
+ @see equivCount()
+ @param counts The count of each equivalence number for the other file.
+ @return 0=nondiscardable, 1=discardable or 2=provisionally discardable
+ for each line
+ */
+
+ private byte[] discardable(final int[] counts) {
+ final int end = buffered_lines;
+ final byte[] discards = new byte[end];
+ final int[] equivs = this.equivs;
+ int many = 5;
+ int tem = end / 64;
+
+ /* Multiply MANY by approximate square root of number of lines.
+ That is the threshold for provisionally discardable lines. */
+ while ((tem = tem >> 2) > 0)
+ many *= 2;
+
+ for (int i = 0; i < end; i++)
+ {
+ int nmatch;
+ if (equivs[i] == 0)
+ continue;
+ nmatch = counts[equivs[i]];
+ if (nmatch == 0)
+ discards[i] = 1;
+ else if (nmatch > many)
+ discards[i] = 2;
+ }
+ return discards;
+ }
+
+ /** Don't really discard the provisional lines except when they occur
+ in a run of discardables, with nonprovisionals at the beginning
+ and end. */
+
+ private void filterDiscards(final byte[] discards) {
+ final int end = buffered_lines;
+
+ for (int i = 0; i < end; i++)
+ {
+ /* Cancel provisional discards not in middle of run of discards. */
+ if (discards[i] == 2)
+ discards[i] = 0;
+ else if (discards[i] != 0)
+ {
+ /* We have found a nonprovisional discard. */
+ int j;
+ int length;
+ int provisional = 0;
+
+ /* Find end of this run of discardable lines.
+ Count how many are provisionally discardable. */
+ for (j = i; j < end; j++)
+ {
+ if (discards[j] == 0)
+ break;
+ if (discards[j] == 2)
+ ++provisional;
+ }
+
+ /* Cancel provisional discards at end, and shrink the run. */
+ while (j > i && discards[j - 1] == 2) {
+ discards[--j] = 0; --provisional;
+ }
+
+ /* Now we have the length of a run of discardable lines
+ whose first and last are not provisional. */
+ length = j - i;
+
+ /* If 1/4 of the lines in the run are provisional,
+ cancel discarding of all provisional lines in the run. */
+ if (provisional * 4 > length)
+ {
+ while (j > i)
+ if (discards[--j] == 2)
+ discards[j] = 0;
+ }
+ else
+ {
+ int consec;
+ int minimum = 1;
+ int tem = length / 4;
+
+ /* MINIMUM is approximate square root of LENGTH/4.
+ A subrun of two or more provisionals can stand
+ when LENGTH is at least 16.
+ A subrun of 4 or more can stand when LENGTH >= 64. */
+ while ((tem = tem >> 2) > 0)
+ minimum *= 2;
+ minimum++;
+
+ /* Cancel any subrun of MINIMUM or more provisionals
+ within the larger run. */
+ for (j = 0, consec = 0; j < length; j++)
+ if (discards[i + j] != 2)
+ consec = 0;
+ else if (minimum == ++consec)
+ /* Back up to start of subrun, to cancel it all. */
+ j -= consec;
+ else if (minimum < consec)
+ discards[i + j] = 0;
+
+ /* Scan from beginning of run
+ until we find 3 or more nonprovisionals in a row
+ or until the first nonprovisional at least 8 lines in.
+ Until that point, cancel any provisionals. */
+ for (j = 0, consec = 0; j < length; j++)
+ {
+ if (j >= 8 && discards[i + j] == 1)
+ break;
+ if (discards[i + j] == 2) {
+ consec = 0; discards[i + j] = 0;
+ }
+ else if (discards[i + j] == 0)
+ consec = 0;
+ else
+ consec++;
+ if (consec == 3)
+ break;
+ }
+
+ /* I advances to the last line of the run. */
+ i += length - 1;
+
+ /* Same thing, from end. */
+ for (j = 0, consec = 0; j < length; j++)
+ {
+ if (j >= 8 && discards[i - j] == 1)
+ break;
+ if (discards[i - j] == 2) {
+ consec = 0; discards[i - j] = 0;
+ }
+ else if (discards[i - j] == 0)
+ consec = 0;
+ else
+ consec++;
+ if (consec == 3)
+ break;
+ }
+ }
+ }
+ }
+ }
+
+ /** Actually discard the lines.
+ @param discards flags lines to be discarded
+ */
+ private void discard(final byte[] discards) {
+ final int end = buffered_lines;
+ int j = 0;
+ for (int i = 0; i < end; ++i)
+ if (no_discards || discards[i] == 0)
+ {
+ undiscarded[j] = equivs[i];
+ realindexes[j++] = i;
+ }
+ else
+ changed_flag[1+i] = true;
+ nondiscarded_lines = j;
+ }
+
+ file_data(Object[] data,Hashtable h) {
+ buffered_lines = data.length;
+
+ equivs = new int[buffered_lines];
+ undiscarded = new int[buffered_lines];
+ realindexes = new int[buffered_lines];
+
+ for (int i = 0; i < data.length; ++i) {
+ Integer ir = (Integer)h.get(data[i]);
+ if (ir == null)
+ h.put(data[i],new Integer(equivs[i] = equiv_max++));
+ else
+ equivs[i] = ir.intValue();
+ }
+ }
+
+ /** Adjust inserts/deletes of blank lines to join changes
+ as much as possible.
+
+ We do something when a run of changed lines include a blank
+ line at one end and have an excluded blank line at the other.
+ We are free to choose which blank line is included.
+ `compareseq' always chooses the one at the beginning,
+ but usually it is cleaner to consider the following blank line
+ to be the "change". The only exception is if the preceding blank line
+ would join this change to other changes.
+ @param f the file being compared against
+ */
+
+ void shift_boundaries(file_data f) {
+ final boolean[] changed = changed_flag;
+ final boolean[] other_changed = f.changed_flag;
+ int i = 0;
+ int j = 0;
+ int i_end = buffered_lines;
+ int preceding = -1;
+ int other_preceding = -1;
+
+ for (;;)
+ {
+ int start, end, other_start;
+
+ /* Scan forwards to find beginning of another run of changes.
+ Also keep track of the corresponding point in the other file. */
+
+ while (i < i_end && !changed[1+i])
+ {
+ while (other_changed[1+j++])
+ /* Non-corresponding lines in the other file
+ will count as the preceding batch of changes. */
+ other_preceding = j;
+ i++;
+ }
+
+ if (i == i_end)
+ break;
+
+ start = i;
+ other_start = j;
+
+ for (;;)
+ {
+ /* Now find the end of this run of changes. */
+
+ while (i < i_end && changed[1+i]) i++;
+ end = i;
+
+ /* If the first changed line matches the following unchanged one,
+ and this run does not follow right after a previous run,
+ and there are no lines deleted from the other file here,
+ then classify the first changed line as unchanged
+ and the following line as changed in its place. */
+
+ /* You might ask, how could this run follow right after another?
+ Only because the previous run was shifted here. */
+
+ if (end != i_end
+ && equivs[start] == equivs[end]
+ && !other_changed[1+j]
+ && end != i_end
+ && !((preceding >= 0 && start == preceding)
+ || (other_preceding >= 0
+ && other_start == other_preceding)))
+ {
+ changed[1+end++] = true;
+ changed[1+start++] = false;
+ ++i;
+ /* Since one line-that-matches is now before this run
+ instead of after, we must advance in the other file
+ to keep in synch. */
+ ++j;
+ }
+ else
+ break;
+ }
+
+ preceding = i;
+ other_preceding = j;
+ }
+ }
+
+ /** Number of elements (lines) in this file. */
+ final int buffered_lines;
+
+ /** Vector, indexed by line number, containing an equivalence code for
+ each line. It is this vector that is actually compared with that
+ of another file to generate differences. */
+ private final int[] equivs;
+
+ /** Vector, like the previous one except that
+ the elements for discarded lines have been squeezed out. */
+ final int[] undiscarded;
+
+ /** Vector mapping virtual line numbers (not counting discarded lines)
+ to real ones (counting those lines). Both are origin-0. */
+ final int[] realindexes;
+
+ /** Total number of nondiscarded lines. */
+ int nondiscarded_lines;
+
+ /** Array, indexed by real origin-1 line number,
+ containing true for a line that is an insertion or a deletion.
+ The results of comparison are stored here. */
+ boolean[] changed_flag;
+
+ }
+}
diff --git a/.files/README-0.5.10.xhtml b/.files/README-0.5.10.xhtml
new file mode 100644
index 0000000..e3c171f
--- /dev/null
+++ b/.files/README-0.5.10.xhtml
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>rvs 0.5.10</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
+</head>
+<body>
+<h1>rvs 0.5.10</h1>
+<p>rvs is a basic versioning system I've been writing. If you don't know what that means, it isn't for you (at least not at this stage in development).</p>
+
+<h2>installation</h2>
+<p>Download the tarball <a href="http://bazaar.launchpad.net/%7Elukeshu/%2Bjunk/rvs-release/download/head%3A/rvs0.5.10.tar.gz-20090626054542-a8njfgco94idohdt-1/rvs-0.5.10.tar.gz"><kbd>rvs-0.5.10.tar.gz</kbd></a>.</p>
+<p>To install, simply extract the tarball in the root directory (preferably as root).</p>
+<p>Here is a list of all the files in <kbd>rvs-0.5.10.tar.gz</kbd>:</p>
+<ul>
+ <li><kbd>/etc/abomination/modules/rvs/commit</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/commit.d</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/commit.f</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/get</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/get.d</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/get.f</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/init</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/lib/rvsdb</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/lib/stdio</kbd></li>
+ <li><kbd>/usr/bin/rvs</kbd></li>
+</ul>
+
+<h2>system requirements</h2>
+<p>Pretty much any *nix system should be able to run rvs, provided it has bash, and bash is installed at <kbd>/bin/bash</kbd> (e.g.: <a href="http://www.freebsd.org/">FreeBSD</a> has it at <kbd>/usr/bin/bash</kbd>, so you should set up a symlink). rvs is not designed for Windows, but should be able to run in bash if you have some *nix pack installed.</p>
+<p>To my knowledge, this is the absolute requirements (all need to be in your PATH):</p>
+<ul>
+ <li><a href="http://www.gnu.org/software/bash/">bash</a> (needs to be installed at <kbd>/bin/bash</kbd>)</li>
+ <li>cat (included in <a href="http://www.gnu.org/software/coreutils/">GNU Core Utils</a>)</li>
+ <li>cp (included in <a href="http://www.gnu.org/software/coreutils/">GNU Core Utils</a>)</li>
+ <li>cut (included in <a href="http://www.gnu.org/software/coreutils/">GNU Core Utils</a>)</li>
+ <li>echo (included in <a href="http://www.gnu.org/software/coreutils/">GNU Core Utils</a>)</li>
+ <li>mkdir (included in <a href="http://www.gnu.org/software/coreutils/">GNU Core Utils</a>)</li>
+ <li>rm (included in <a href="http://www.gnu.org/software/coreutils/">GNU Core Utils</a>)</li>
+ <li>sed (included in <a href="http://www.gnu.org/software/coreutils/">GNU Core Utils</a>)</li>
+ <li>sha1sum (included in <a href="http://www.gnu.org/software/coreutils/">GNU Core Utils</a>)</li>
+ <li>tempfile (included in <a href="http://www.gnu.org/software/coreutils/">GNU Core Utils</a>)</li>
+ <li>tr (included in <a href="http://www.gnu.org/software/coreutils/">GNU Core Utils</a>)</li>
+</ul>
+
+<h2>usage</h2>
+<dl>
+ <dt>create repository in the current directory</dt>
+ <dd><kbd>rvs init</kbd></dd>
+ <dt>check in the current directory</dt>
+ <dd><kbd>rvs commit</kbd> This will return a commit id. You need this to check the revision back out.</dd>
+ <dt>check out to the current directory</dt>
+ <dd><kbd>rvs get <var>ID</var></kbd> This checks out commit <var>ID</var></dd>
+</dl>
+<p>The system will bork if you have filenames with spaces or newlines. Why? Because you haven't written a patch to fix it yet.</p>
+<p>Feel free to push to the <a href="https://code.launchpad.net/~lukeshu/+junk/rvs-release">launchpad repository</a>.</p>
+
+<h2>hacking</h2>
+<p>Again, here is a list of all files in <kbd>rvs-0.5.10.tar.gz</kbd>:</p>
+<ul>
+ <li><kbd>/etc/abomination/modules/rvs/commit</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/commit.d</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/commit.f</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/get</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/get.d</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/get.f</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/init</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/lib/rvsdb</kbd></li>
+ <li><kbd>/etc/abomination/modules/rvs/lib/stdio</kbd></li>
+ <li><kbd>/usr/bin/rvs</kbd></li>
+</ul>
+<p>These are all shell scripts and may be modified directly. I have designed this system to be extremely modular. As you may have figured out, each bit on functionality is in it's own script, and <kbd>/usr/bin/rvs</kbd> is just a wrapper for them. If you wish to move the directory with the sub-modules, all you have to do is update the variablle <code><var>RVSDIR</var></code> towards the beginning of <kbd>/usr/bin/rvs</kbd>.</p>
+<p><kbd>commit</kbd> actually does take a parameter. It can commit any file or directory. It works as it does because if no file is given, it defaults to <kbd>./</kbd>. If it is given a directory (as it is by default), it loops through each file in the directory and commits them (by calling itself). In order to actually commit a file or directory it calls <code>rvs commit.<var>type</var></code> where <var>type</var> is the standard unix file-type code:</p>
+
+<table>
+ <tr><td><pre><em>b</em>lock (buffered) special</pre></td><td>b</td></tr>
+ <tr><td><pre><em>c</em>haracter (unbuffered) special</pre></td><td>c</td></tr>
+ <tr><td><pre><em>d</em>irectory </pre></td><td>d</td></tr>
+ <tr><td><pre>named <em>p</em>ipe (FIFO) </pre></td><td>p</td></tr>
+ <tr><td><pre>regular <em>f</em>ile </pre></td><td>f</td></tr>
+ <tr><td><pre>symbolic <em>l</em>ink </pre></td><td>l</td></tr>
+ <tr><td><pre><em>d</em>ocket </pre></td><td>s</td></tr>
+ <tr><td><pre><em>d</em>oor (Solaris only) </pre></td><td>D</td></tr>
+</table>
+<p>As you probably noticed, only directories and regular files have been implemented in this release. <kbd>get</kbd> works in much the same way. If you implement any other file types, save the commit and get functions accordingly, and uncomment the line in <kbd>/etc/abomination/modules/rvs/commit</kbd>. Any commit function takes a filename as an argument and outputs the according commit id to stdout. Any get function takes the commit id as an argument and uses stdout only if verbose, or to report errors. So the modules communicate via pipes, which is generally considered bad-design, and libraries should be used. I deliberatly broke this because this way:</p>
+<ol>
+ <li>incompatible licences can be used for different modules</li>
+ <li>modules can be added/removed on the fly</li>
+ <li>one can use any lanugage to write new modules, without having to worry about bindings</li>
+</ol>
+
+<h3>TODO</h3>
+<ul>
+ <li>implment other unix file types (see above)</li>
+ <li>add real option handling (code from another project is provided in <kbd>/usr/bin/rvs</kbd>)</li>
+ <li>write real documentation</li>
+ <li>implment a parent/child tree<ul>
+ <li>implement branch ids (NOTE: <q>wch</q> should be used to refer to the latest commit in a branch)</li>
+ </ul></li>
+ <li>implement tags</li>
+ <li>owner/filepermissions/timestamps</li>
+ <li>usernames/author</li>
+</ul>
+
+<p>I have set up bazaar repository at <a href="https://code.launchpad.net/~lukeshu/+junk/rvs-release">Launchpad</a>. Only until rvs becomes self-hosting.</p>
+<p>If anyone needs any help, let me know.
+<br />~ Luke Shumaker &lt;<a href="mailto:lukeshu@sbcglobal.net">LukeShu@sbcglobal.net</a>&gt;
+<br />Happy Hacking!</p>
+</body>
+</html>
+
diff --git a/.files/etc/abomination/modules/rvs/commit b/.files/etc/abomination/modules/rvs/commit
new file mode 100755
index 0000000..6ff39a0
--- /dev/null
+++ b/.files/etc/abomination/modules/rvs/commit
@@ -0,0 +1,57 @@
+#!/bin/bash
+# abomination module:rvs:commit
+name='rvs commit'
+ver='0.5.10'
+usage='[OPTIONS] [FILE]'
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+source "`rvs -d`/lib/stdio"
+source "`rvs -d`/lib/rvsdb"
+
+# commit FILE
+if [ $# -gt 0 ]; then
+ file="$1"
+else
+ file='.'
+fi
+
+if [ ! -e $file]; then error "file \`$file' does not exist";
+# START file type list
+#elif [ -b $file ]; type='b'; # block (buffered) special
+#elif [ -c $file ]; type='c'; # character (unbuffered) special
+elif [ -d $file ]; type='d'; # directory
+#elif [ -p $file ]; type='p'; # named pipe (FIFO)
+elif [ -f $file ]; type='f'; # regular file
+#elif [ -l $file ]; type='l'; # symbolic link
+#elif [ -s $file ]; type='s'; # socket
+#elif [ -D $file ]; type='D'; # door (Solaris only)
+# END file type list
+fi
+
+ret=`rvs "commit.$type" "$file"`
+
+tmp=`tempfile`
+loginit "$tmp"
+logwrite "$tmp" 'name' "$file"
+logwrite "$tmp" 'hash' "$ret"
+logwrite "$tmp" 'type' "$type"
+logwrite "$tmp" 'author' "$user"
+logwrite "$tmp" 'owner' "$owner"
+logwrite "$tmp" 'owner' "$license"
+#parents=`logfind "$repo/co" "$file"` the checkout log is getting an overhaul
+#logwrite "$tmp" 'parents' "$parents"
+#case "$type" in
+# f)
+# #logwrite "$tmp" 'f.type' "$"
+# :;;
+#esac
+
+rvs commit.f "$tmp"
+rm "$tmp"
+
diff --git a/.files/etc/abomination/modules/rvs/commit.d b/.files/etc/abomination/modules/rvs/commit.d
new file mode 100755
index 0000000..91a75c4
--- /dev/null
+++ b/.files/etc/abomination/modules/rvs/commit.d
@@ -0,0 +1,29 @@
+#!/bin/bash
+# abomination module:rvs:commit:d
+name='rvs commit.d'
+ver='0.5.10'
+usage='[OPTIONS] DIRECTORY'
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+source "`rvs -d`/lib/stdio"
+source "`rvs -d`/lib/rvsdb"
+
+# commit.d DIRNAME
+dir="$1"
+
+tmp=`tempfile`
+loginit "$tmp"
+for file in $dir; do
+ hash=`commit "$dir/$file"`
+ echo "$file:$hash" >> "$tmp"
+done
+
+rvs commit.f "$tmp"
+rm "$tmp"
+
diff --git a/.files/etc/abomination/modules/rvs/commit.f b/.files/etc/abomination/modules/rvs/commit.f
new file mode 100755
index 0000000..78c5d59
--- /dev/null
+++ b/.files/etc/abomination/modules/rvs/commit.f
@@ -0,0 +1,25 @@
+#!/bin/bash
+# abomination module:rvs:commit:f
+name='rvs commit.f'
+ver='0.5.10'
+usage='[OPTIONS] FILE'
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+source "`rvs -d`/lib/stdio"
+source "`rvs -d`/lib/rvsdb"
+
+# commit.f FILENAME
+file="$1"
+
+hash=`getid $file`
+if [ ! -f "$repo/files/$hash" ]; then
+ cp "$file" "$repo/files/$hash"
+fi
+echo "$hash"
+
diff --git a/.files/etc/abomination/modules/rvs/get b/.files/etc/abomination/modules/rvs/get
new file mode 100755
index 0000000..dce3ac7
--- /dev/null
+++ b/.files/etc/abomination/modules/rvs/get
@@ -0,0 +1,34 @@
+#!/bin/bash
+# abomination module:rvs:get
+name='rvs commit'
+ver='0.5.10'
+usage='[OPTIONS] ID [FILENAME]'
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+source "`rvs -d`/lib/stdio"
+source "`rvs -d`/lib/rvsdb"
+
+# get ID [FILE]
+id="$1"
+
+if [ $# -gt 1 ]; then
+ file="$2"
+fi
+
+tmp=`tempfile`
+rvs get.f "$id" "$tmp"
+type=`logread "$tmp" 'type'`
+if [ $# -gt 1 ]; then
+ file="$2"
+else
+ file=`logread "$tmp" 'name'`
+fi
+
+rvs "get.$type" "$id" "$file"
+
diff --git a/.files/etc/abomination/modules/rvs/get.d b/.files/etc/abomination/modules/rvs/get.d
new file mode 100755
index 0000000..68d6aaa
--- /dev/null
+++ b/.files/etc/abomination/modules/rvs/get.d
@@ -0,0 +1,32 @@
+#!/bin/bash
+# abomination module:rvs:get:d
+name='rvs get.d'
+ver='0.5.10'
+usage='[OPTIONS] ID FILENAME'
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+source "`rvs -d`/lib/stdio"
+source "`rvs -d`/lib/rvsdb"
+
+# get.d ID DIRNAME
+id="$1"
+dir="$2"
+
+tmp=`tempfile`
+rvs get.f `logread "$db" 'hash'` "$tmp"
+
+mkdir "$dir"
+for file in `cat "$tmp"`; do
+ hash=`echo "$file" | sed 's/^.*://'`
+ name=`echo "$file" | sed "s/:$hash$//"`
+ rvs get "$dir/$file"
+done
+
+rm "$tmp"
+
diff --git a/.files/etc/abomination/modules/rvs/get.f b/.files/etc/abomination/modules/rvs/get.f
new file mode 100755
index 0000000..a0db378
--- /dev/null
+++ b/.files/etc/abomination/modules/rvs/get.f
@@ -0,0 +1,22 @@
+#!/bin/bash
+# abomination module:rvs:get:f
+name='rvs get.f'
+ver='0.5.10'
+usage='[OPTIONS] ID FILENAME'
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+source "`rvs -d`/lib/stdio"
+source "`rvs -d`/lib/rvsdb"
+
+# get.f ID FILENAME
+id="$1"
+file="$2"
+
+cp "$repo/files/$id" "$file"
+
diff --git a/.files/etc/abomination/modules/rvs/init b/.files/etc/abomination/modules/rvs/init
new file mode 100755
index 0000000..ae778af
--- /dev/null
+++ b/.files/etc/abomination/modules/rvs/init
@@ -0,0 +1,18 @@
+#!/bin/bash
+# abomination rvs init
+name='rvs init'
+ver='0.5.10'
+usage='[OPTIONS]'
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+source "`rvs -d`/lib/stdio"
+source "`rvs -d`/lib/rvsdb"
+
+mkdir -p "$repo/{files/tmp}"
+
diff --git a/.files/etc/abomination/modules/rvs/lib/rvsdb b/.files/etc/abomination/modules/rvs/lib/rvsdb
new file mode 100755
index 0000000..9763042
--- /dev/null
+++ b/.files/etc/abomination/modules/rvs/lib/rvsdb
@@ -0,0 +1,83 @@
+#!/bin/bash
+# abomination module:rvs:lib:rvsdb
+#name='rvs db'
+#ver='0.5.10'
+logver='0.5.0'
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+source "`rvs -d`/lib/stdio"
+#source "`rvs -d`/lib/rvsdb"
+
+repo='.rvs'
+
+# getid file
+function getid {
+ #md5sum $file | sed "s/ .*$//"
+ sha1sum $file | sed "s/ .*$//"
+}
+
+# loginit LOG
+function loginit {
+ log="$1"
+ echo "#!rvsdb $logver" > "$log";
+}
+
+# lograw LOG
+function lograw {
+ log="$1"
+ sed '1s/#!rvsdb .*//' "$log"
+}
+
+# _find LOG FIELD VAL
+function _find {
+ log="$1"
+ field="$2"
+ val="$3"
+ lograw $log | \
+ cut -d : -f field | \
+ sed -n "/^$val$/=" | \
+ tr "\n" , | \
+ sed 's/,$//'
+}
+
+# logread LOG VAR
+function logread {
+ log="$1"
+ var="$2"
+ lograw "$log" | sed -n "s/^$var://p"
+ #lograw "$log" | sed -n `_find "$log" '1' "$var"`p | cut -d : -f 2-
+}
+
+# logwrite LOG VAR VAL
+function logwrite {
+ log="$1"
+ var="$2"
+ val="$3"
+
+ #lines=`_find "$log" '1' "$var"`
+ #if [ "$lines" = '' ]; then
+ if [ `lograw "$log" | grep "^$var:"` = '' ]; then
+ # no exiswhereting occurances
+ echo "$var:$val" >> "$log"
+ else
+ # found others
+ sed -i "^s/$var:.*/$var:$val/" "$log"
+ #lograw "$log" | ??????
+ fi
+}
+
+# logfind LOG VAL
+function logfind {
+ log="$1"
+ val="$2"
+ # make a comma-delimeted list of the lines with our values
+ lines=`_find "$log" '2-' "$val"`
+ lograw "$log" | sed -n ${lines}p | cut -d : -f 1
+}
+
diff --git a/.files/etc/abomination/modules/rvs/lib/stdio b/.files/etc/abomination/modules/rvs/lib/stdio
new file mode 100755
index 0000000..8e11b72
--- /dev/null
+++ b/.files/etc/abomination/modules/rvs/lib/stdio
@@ -0,0 +1,57 @@
+#!/bin/bash
+# abomination module:rvs:lib:stdio
+#name='rvs stdio'
+#ver='0.5.9'
+#usage=''
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+#source "$RVSDIR/lib/stdio"
+#source "$RVSDIR/lib/rvsdb"
+
+sopt='VhH?vq'
+lopt='version,verbose,quiet,help'
+
+function verbose {
+ if [ "$volume" == '-v' ]; then
+ echo $@
+ fi
+}
+
+function out {
+ if [ "$volume" != '-q' ]; then
+ echo $@
+ fi
+}
+
+function version {
+ echo "$name $ver"
+ if [ "$volume" != '-q' ]; then
+ cat << __disclaimer__
+$name is copyright (C) 2009 Luke Shumaker
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+__disclaimer__
+ fi
+ exit 0
+}
+
+function error {
+ cat << __error__
+$name: $1
+Usage: $name $usage
+
+Try $name \`--help' for more options.
+__error__
+ exit 1
+}
+
diff --git a/.files/grub-2240-1.abm b/.files/grub-2240-1.abm
new file mode 100644
index 0000000..3d5426d
--- /dev/null
+++ b/.files/grub-2240-1.abm
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+
+<abomination>
+ <vcs id='GRUB' type='svn' commit='2240' url='http://svn.savannah.gnu.org/svn/grub/'>
+ <branch id='GRUB' url='grub/'>
+ <hist first='2' last='35' status='none' />
+ <site url='http://www.uruk.org/grub/' />
+ </branch>
+ <branch id='GNU GRUB' url='grub/'>
+ <site url='http://www.gnu.org/software/grub/' />
+ <branch id='GRUB Legacy'>
+ <hist first='36' last='2240' status='inactive' />
+ <site url='grub-legacy.en.html' />
+ </branch>
+ <branch id='GRUB 2' url='grub2/'>
+ <hist first='2' last='35' status='active' />
+ <site url='grub-2.en.html' />
+ </branch>
+ </branch>
+ </vcs>
+</abomination>
+
diff --git a/.files/grub.abm b/.files/grub.abm
new file mode 100644
index 0000000..6b2d9cf
--- /dev/null
+++ b/.files/grub.abm
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+
+<abomination type='svn' commit='2240' url='http://svn.savannah.gnu.org/svn/grub/'>
+ <branch id='GRUB'>
+ <branch id='GRUB'>
+ <co dir='grub' />
+ <hist first='2' last='35' status='none' />
+ <site url='http://www.uruk.org/grub/' />
+ </branch>
+ <branch id='GNU GRUB'>
+ <site url='http://www.gnu.org/software/grub/' />
+ <branch id='GRUB Legacy'>
+ <co dir='grub' />
+ <hist first='36' last='2240' status='inactive' />
+ <site url='http://www.gnu.org/software/grub/grub-legacy.en.html' />
+ </branch>
+ <branch id='GRUB 2'>
+ <co dir='grub2' />
+ <hist first='2' last='35' status='active' />
+ <site url='http://www.gnu.org/software/grub/grub-2.en.html' />
+ </branch>
+ </branch>
+ </branch>
+</abomination>
+
diff --git a/.files/pget b/.files/pget
new file mode 120000
index 0000000..5eafac9
--- /dev/null
+++ b/.files/pget
@@ -0,0 +1 @@
+.pget/pget-wch \ No newline at end of file
diff --git a/.files/rvs-0.5.10.tar b/.files/rvs-0.5.10.tar
new file mode 100644
index 0000000..d6b2bff
--- /dev/null
+++ b/.files/rvs-0.5.10.tar
Binary files differ
diff --git a/.files/rvs-0.5.10.tar.gz.bak b/.files/rvs-0.5.10.tar.gz.bak
new file mode 100644
index 0000000..d6b2bff
--- /dev/null
+++ b/.files/rvs-0.5.10.tar.gz.bak
Binary files differ
diff --git a/.files/rvs-0.8c.tar.gz b/.files/rvs-0.8c.tar.gz
new file mode 100644
index 0000000..33b354c
--- /dev/null
+++ b/.files/rvs-0.8c.tar.gz
Binary files differ
diff --git a/.files/rvs-pre-bzr.tar b/.files/rvs-pre-bzr.tar
new file mode 100644
index 0000000..c5a5ab4
--- /dev/null
+++ b/.files/rvs-pre-bzr.tar
Binary files differ
diff --git a/.files/rvs-pre-bzr.tar.gz.bak b/.files/rvs-pre-bzr.tar.gz.bak
new file mode 100644
index 0000000..e6622e1
--- /dev/null
+++ b/.files/rvs-pre-bzr.tar.gz.bak
Binary files differ
diff --git a/.files/usr/bin/rvs b/.files/usr/bin/rvs
new file mode 100755
index 0000000..f8f31c6
--- /dev/null
+++ b/.files/usr/bin/rvs
@@ -0,0 +1,50 @@
+#!/bin/bash
+# abomination module:rvs
+name='rvs'
+ver='0.5.10'
+usage='COMMAND [OPTIONS]'
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+RVSDIR='/etc/abomination/modules/rvs'
+source "$RVSDIR/lib/stdio"
+source "$RVSDIR/lib/rvsdb"
+
+com=$1;
+case "$com" in
+ -d) echo "$RVSDIR";;
+ '') error 'please specify a command';;
+ *)
+ if [ -f "$RVSDIR/$com" ]; then
+ export TMPDIR="$repo/tmp"
+ $RVSDIR/$@
+ else
+ error "unrecognized command \`$com'"
+ fi
+ :;;
+esac
+
+#args=`getopt -n "$name" -o "${sopt}" -l "${lopt}" -- "$@"`
+#if [ $? == 0 ]; then
+# set -- $args
+# while [ $# -gt 0 ]; do
+# case "$1" in
+# -V | --version) mode='version';;
+# -h | -H | -\? | --help) mode='help';;
+#
+# -v | --verbose) volume='-v';;
+# -q | --quiet) volume='-q';;
+#
+# --) shift; break;;
+# esac
+# shift;
+# done
+#else
+# error
+#fi
+
diff --git a/diff/.bzr/README b/diff/.bzr/README
new file mode 100644
index 0000000..4f8e767
--- /dev/null
+++ b/diff/.bzr/README
@@ -0,0 +1,3 @@
+This is a Bazaar control directory.
+Do not change any files in this directory.
+See http://bazaar-vcs.org/ for more information about Bazaar.
diff --git a/diff/.bzr/branch-format b/diff/.bzr/branch-format
new file mode 100644
index 0000000..9eb09b7
--- /dev/null
+++ b/diff/.bzr/branch-format
@@ -0,0 +1 @@
+Bazaar-NG meta directory, format 1
diff --git a/diff/.bzr/branch/branch.conf b/diff/.bzr/branch/branch.conf
new file mode 100644
index 0000000..b9ac50a
--- /dev/null
+++ b/diff/.bzr/branch/branch.conf
@@ -0,0 +1,2 @@
+bound_location = file:///home/luke/Development/abomination/diff/
+bound = True
diff --git a/diff/.bzr/branch/format b/diff/.bzr/branch/format
new file mode 100644
index 0000000..1fc6b88
--- /dev/null
+++ b/diff/.bzr/branch/format
@@ -0,0 +1 @@
+Bazaar Branch Format 6 (bzr 0.15)
diff --git a/diff/.bzr/branch/last-revision b/diff/.bzr/branch/last-revision
new file mode 100644
index 0000000..58c3a79
--- /dev/null
+++ b/diff/.bzr/branch/last-revision
@@ -0,0 +1 @@
+13 lukeshu@sbcglobal.net-20090807202925-l5z2jc0b56o76sq6
diff --git a/diff/.bzr/branch/tags b/diff/.bzr/branch/tags
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/diff/.bzr/branch/tags
diff --git a/diff/.bzr/checkout/conflicts b/diff/.bzr/checkout/conflicts
new file mode 100644
index 0000000..0dc2d3a
--- /dev/null
+++ b/diff/.bzr/checkout/conflicts
@@ -0,0 +1 @@
+BZR conflict list format 1
diff --git a/diff/.bzr/checkout/dirstate b/diff/.bzr/checkout/dirstate
new file mode 100644
index 0000000..1ee2b41
--- /dev/null
+++ b/diff/.bzr/checkout/dirstate
Binary files differ
diff --git a/diff/.bzr/checkout/format b/diff/.bzr/checkout/format
new file mode 100644
index 0000000..9ffb5e4
--- /dev/null
+++ b/diff/.bzr/checkout/format
@@ -0,0 +1 @@
+Bazaar Working Tree Format 4 (bzr 0.15)
diff --git a/diff/.bzr/repository/format b/diff/.bzr/repository/format
new file mode 100644
index 0000000..520349d
--- /dev/null
+++ b/diff/.bzr/repository/format
@@ -0,0 +1 @@
+Bazaar pack repository format 1 (needs bzr 0.92)
diff --git a/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.iix b/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.iix
new file mode 100644
index 0000000..aa601a5
--- /dev/null
+++ b/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.iix
Binary files differ
diff --git a/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.rix b/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.rix
new file mode 100644
index 0000000..21dd3b9
--- /dev/null
+++ b/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.rix
Binary files differ
diff --git a/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.six b/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.tix b/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.tix
new file mode 100644
index 0000000..eeb942f
--- /dev/null
+++ b/diff/.bzr/repository/indices/460eb9d2718188684f5db460da266ae5.tix
Binary files differ
diff --git a/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.iix b/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.iix
new file mode 100644
index 0000000..92e642d
--- /dev/null
+++ b/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.iix
Binary files differ
diff --git a/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.rix b/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.rix
new file mode 100644
index 0000000..6afbf19
--- /dev/null
+++ b/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.rix
Binary files differ
diff --git a/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.six b/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.tix b/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.tix
new file mode 100644
index 0000000..24a34d7
--- /dev/null
+++ b/diff/.bzr/repository/indices/5fb3e8a43c6057c525436d0a9ee34dfa.tix
Binary files differ
diff --git a/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.iix b/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.iix
new file mode 100644
index 0000000..783765e
--- /dev/null
+++ b/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.iix
Binary files differ
diff --git a/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.rix b/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.rix
new file mode 100644
index 0000000..dd59ac7
--- /dev/null
+++ b/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.rix
Binary files differ
diff --git a/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.six b/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.tix b/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.tix
new file mode 100644
index 0000000..e47c7b8
--- /dev/null
+++ b/diff/.bzr/repository/indices/702a8e40bea818fdcbdb08d1a8619382.tix
Binary files differ
diff --git a/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.iix b/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.iix
new file mode 100644
index 0000000..ad9cb1e
--- /dev/null
+++ b/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.iix
Binary files differ
diff --git a/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.rix b/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.rix
new file mode 100644
index 0000000..a8a275d
--- /dev/null
+++ b/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.rix
Binary files differ
diff --git a/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.six b/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.tix b/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.tix
new file mode 100644
index 0000000..19d533f
--- /dev/null
+++ b/diff/.bzr/repository/indices/de98138f38491b0c84994755ad2c1c41.tix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.iix b/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.iix
new file mode 100644
index 0000000..2e9aea7
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.iix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.pack b/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.pack
new file mode 100644
index 0000000..22a7cbd
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.pack
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.rix b/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.rix
new file mode 100644
index 0000000..24f543c
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.rix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.six b/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.tix b/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.tix
new file mode 100644
index 0000000..07a5c3a
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/25116d0ab444b34c7b9724e11b4c2345.tix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.iix b/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.iix
new file mode 100644
index 0000000..7b66e64
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.iix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.pack b/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.pack
new file mode 100644
index 0000000..fa48f44
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.pack
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.rix b/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.rix
new file mode 100644
index 0000000..fc4a2c9
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.rix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.six b/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.tix b/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.tix
new file mode 100644
index 0000000..c1ea9e5
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/31ed7448b24a3dcdac128cc7a95fda44.tix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.iix b/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.iix
new file mode 100644
index 0000000..1026e55
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.iix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.pack b/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.pack
new file mode 100644
index 0000000..c41a1b2
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.pack
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.rix b/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.rix
new file mode 100644
index 0000000..9420721
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.rix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.six b/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.tix b/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.tix
new file mode 100644
index 0000000..35722ef
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/3c629ee7ff2d828705c9a07b054ffd35.tix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.iix b/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.iix
new file mode 100644
index 0000000..c3c2983
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.iix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.pack b/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.pack
new file mode 100644
index 0000000..13d5ec4
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.pack
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.rix b/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.rix
new file mode 100644
index 0000000..8cda366
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.rix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.six b/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.tix b/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.tix
new file mode 100644
index 0000000..a214111
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/5c4c13f5bb7c98a25eb77a3bf979f0bb.tix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.iix b/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.iix
new file mode 100644
index 0000000..20bc5cd
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.iix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.pack b/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.pack
new file mode 100644
index 0000000..57e853a
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.pack
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.rix b/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.rix
new file mode 100644
index 0000000..509f2c5
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.rix
Binary files differ
diff --git a/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.six b/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.tix b/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.tix
new file mode 100644
index 0000000..e3f4973
--- /dev/null
+++ b/diff/.bzr/repository/obsolete_packs/c2d94537bd2fddfbc7ca45c0e47a66df.tix
Binary files differ
diff --git a/diff/.bzr/repository/pack-names b/diff/.bzr/repository/pack-names
new file mode 100644
index 0000000..fecfd61
--- /dev/null
+++ b/diff/.bzr/repository/pack-names
Binary files differ
diff --git a/diff/.bzr/repository/packs/460eb9d2718188684f5db460da266ae5.pack b/diff/.bzr/repository/packs/460eb9d2718188684f5db460da266ae5.pack
new file mode 100644
index 0000000..102f811
--- /dev/null
+++ b/diff/.bzr/repository/packs/460eb9d2718188684f5db460da266ae5.pack
Binary files differ
diff --git a/diff/.bzr/repository/packs/5fb3e8a43c6057c525436d0a9ee34dfa.pack b/diff/.bzr/repository/packs/5fb3e8a43c6057c525436d0a9ee34dfa.pack
new file mode 100644
index 0000000..6c338e5
--- /dev/null
+++ b/diff/.bzr/repository/packs/5fb3e8a43c6057c525436d0a9ee34dfa.pack
Binary files differ
diff --git a/diff/.bzr/repository/packs/702a8e40bea818fdcbdb08d1a8619382.pack b/diff/.bzr/repository/packs/702a8e40bea818fdcbdb08d1a8619382.pack
new file mode 100644
index 0000000..fa9f03f
--- /dev/null
+++ b/diff/.bzr/repository/packs/702a8e40bea818fdcbdb08d1a8619382.pack
Binary files differ
diff --git a/diff/.bzr/repository/packs/de98138f38491b0c84994755ad2c1c41.pack b/diff/.bzr/repository/packs/de98138f38491b0c84994755ad2c1c41.pack
new file mode 100644
index 0000000..9faf67f
--- /dev/null
+++ b/diff/.bzr/repository/packs/de98138f38491b0c84994755ad2c1c41.pack
Binary files differ
diff --git a/diff/COPYING b/diff/COPYING
new file mode 100644
index 0000000..d60c31a
--- /dev/null
+++ b/diff/COPYING
@@ -0,0 +1,340 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/diff/Makefile.in b/diff/Makefile.in
new file mode 100644
index 0000000..ebd5f5f
--- /dev/null
+++ b/diff/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+name = diff-daemon
+ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This file is part of diff-daemon.
+#
+# diff-daemon is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2, or (at your option) any later version.
+#
+# diff-daemon is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with diff-daemon; see the file COPYING.
+# If not, write to the Free Software Foundation,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# Directories ######################################################
+srcdir = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+dirs = $(srcdir) $(prefix) $(exec_prefix) $(bindir) $(sbindir)
+
+# Programs #########################################################
+SHELL = @SHELL@
+RM = rm -f
+SED = sed
+INSTALL = install
+MKDIR = $(INSTALL) -d #mkdir -p
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+
+# phony targets ####################################################
+all : diff-daemon patch-daemon
+.PHONY : install uninstall clean distclean dist
+.SUFFIXES :
+
+# install ##########################################################
+
+install : install-diff-daemon install-patch-daemon
+
+install-diff-daemon : diff-daemon
+ $(INSTALL_PROGRAM) $< $(bindir)/$<
+install-patch-daemon : patch-daemon
+ $(INSTALL_PROGRAM) $< $(bindir)/$<
+
+# uninstall ########################################################
+
+uninstall : uninstall-diff-daemon uninstall-patch-daemon
+
+uninstall-diff-daemon :
+ $(rm) $(bindir)/diff-daemon
+uninstall-patch-daemon :
+ $(rm) $(bindir)/patch-daemon
+
+# clean ############################################################
+
+clean :
+
+distclean : clean
+ $(RM) Makefile
+ $(RM) diff-daemon patch-daemon
+
+# dist #############################################################
+
+d = $(name)-$(ver)
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(d)/COPYING $(d)/configure $(d)/diff-daemon.sh $(d)/patch-daemon.sh $(d)/Makefile.in
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ cp $< $@
+
+# implicit rules ###################################################
+
+$(dirs) :
+ $(MKDIR) $@
+% : $(srcdir)/%.sh
+ sed 's/$bSHELL@/$(subst /,\/,$(SHELL))/g' < $< > $@
+
diff --git a/diff/configure b/diff/configure
new file mode 100755
index 0000000..b10667f
--- /dev/null
+++ b/diff/configure
@@ -0,0 +1,93 @@
+#!/bin/sh
+name='configure' # diff-daemon configureation script
+#ver=1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This file is part of diff-daemon.
+#
+# diff-daemon is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2, or (at your option) any later version.
+#
+# diff-daemon is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with diff-daemon; see the file COPYING.
+# If not, write to the Free Software Foundation,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ _SHELL='/bin/sh'
+ _prefix='/usr/local'
+_exec_prefix='$(prefix)'
+ _bindir='$(exec_prefix)/bin'
+ _sbindir='$(exec_prefix)/sbin'
+ _srcdir=$(readlink -f `dirname "$0"`)
+
+vars='name SHELL prefix exec_prefix bindir sbindir srcdir'
+
+error() {
+ echo "$name: $1" >> /dev/stderr
+ exit 1
+}
+
+args=`getopt -n "$name" -o "${sopt}" -l "${lopt}${vars}" -- "$@"`
+if [ $? == 0 ]; then
+ set -- $args
+ while [ $# -gt 0 ]; do case "$1" in
+ --) break;;
+ --*)
+ var0="${1/--/}"
+ match='false'
+ for var1 in $vars; do
+ if [ "$var0" == "$var1" ]; then
+ match='true'
+ break;
+ fi
+ done
+ if [ "$match" == 'true' ]; then
+ val="$2"
+ eval _$var0=$val
+ else
+ error "option \`$1' not recognized";
+ fi
+ :;;
+ *) error "option \`$1' not recognized";;
+ esac
+ shift
+ done
+else
+ error 'unable to parse command line arguments'
+fi
+
+echo '#!/bin/sed -f' > var.sed
+for var in $vars; do
+ var1="_$var"
+ val=${!var1}
+
+ # GNU bash optimized version
+ #var=${var//':'/'\:'}
+ #val=${val//':'/'\:'}
+ # POSIX version
+ var=`echo "$var" | sed 's@:@\\:@g'`
+ val=`echo "$val" | sed 's@:@\\:@g'`
+
+ echo "s:@$var@:$val:g" >> var.sed
+done
+
+echo "11 a# DO NOT edit this file, it has been generated by configure, and will
+11 a# be overwritten. Instead, edit the file \`Makefile.in'" >> var.sed
+
+Makefiles=`find "${_srcdir}/" -regextype posix-extended \
+-regex '(.*/)?Makefile\.in' -type f`
+
+for orig in $Makefiles; do
+ new=${orig/%.in/}
+ new=${new/#$_srcdir\//}
+ mkdir -p `dirname "$new"`
+ sed -f var.sed < "${orig}" > "${new}"
+done
+rm var.sed
+
diff --git a/diff/diff-daemon.sh b/diff/diff-daemon.sh
new file mode 100644
index 0000000..daa258d
--- /dev/null
+++ b/diff/diff-daemon.sh
@@ -0,0 +1,156 @@
+#!/bin/sh
+name='diff-daemon'
+ver=1.1
+# Copyright (C) 2009 Luke Shumaker
+#
+# This file is part of diff-daemon.
+#
+# diff-daemon is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2, or (at your option) any later version.
+#
+# diff-daemon is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with diff-daemon; see the file COPYING.
+# If not, write to the Free Software Foundation,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+# count the number of times the char "$1" occurs in string "$2"
+# note that the string can't contain any newlines.
+chCount() {
+ char=$1
+ string="$2"
+ echo "$string" | tr ':' '\n' | wc -l
+ # this returns the correct answer+1
+ # this is OK for now, because it is only used for inequality
+}
+
+l_common() {
+ # If they're the same, just echo one of them
+ if [ "$1" = "$2" ]; then
+ str="$1"
+ else
+ # it will be faster if the string with fewer #s is first
+ if [ "`chCount ':' "$1"`" -lt "`chCount ':' "$2"`" ]; then
+ a0="$1"
+ a1="$2"
+ else
+ a0="$2"
+ a1="$1"
+ fi
+ str=''
+ #for int in ${a0//:/: }; do # bash optimized version
+ for int in `echo "$a0" | tr ':' ' '`; do
+ str="$str`echo ":$a1" | sed -n "s/.*:\($int:\).*/\1/p"`"
+ done
+ fi
+ echo "$str"
+}
+
+l_add() {
+ str=''
+ #for int in ${1//:/: }; do # bash optimized version
+ for int in `echo "$1" | tr ':' ' '`; do
+ str="$str`expr "$int" + "$2"`:"
+ done
+ echo "$str"
+}
+
+# add a new line with contents $1
+print_new() {
+ echo "n$1"
+}
+
+# insert $1 blank lines
+# if $1 is not defined, default to 1
+print_blank() {
+ echo "b${1-1}"
+}
+
+print_copy() {
+ if [ -n "$m1" ]; then
+ m1="`echo "$m1" | sed 's/:.*//'`"
+ if [ "$mi" = '0' ]; then
+ mp="${m1}"
+ else
+ m0="`expr $m1 - $mi`"
+ mp="$m0,$m1"
+ fi
+ if [ -z "`sed -n "$mp p" "$file0"`" ]; then
+ print_blank "`expr 1 + $m1 - $m0`"
+ else
+ echo "c$mp"
+ fi
+ fi
+}
+
+print_uniq() {
+ if [ -n "$line" ]; then
+ print_new "$line"
+ else
+ print_blank
+ fi
+}
+
+matches() {
+ grep -n "^$line$" "$file0" | cut -d ':' -f 1 | tr '\n' ':'
+}
+
+# main loop
+
+file0="$1"
+file1="$2"
+
+i='1'
+c=`wc -l "$file1" | cut -d ' ' -f 1`
+while [ "$i" -le "$c" ]; do
+ line="`sed -n "$i p" "$file1"`"
+
+ # it should be simpler to count the `:'s in $m1
+ ms="`echo "$m1" | sed 's/:.*//'`"
+ #echo "ms=$ms"
+ if [ -n "$m1" ] && [ "$m1" = "$ms:" ]; then
+ #echo "yay $ms"
+ ret1="`expr $ms + 1`"
+ if [ "$line" = "`sed -n "$ret1 p" "$file0"`" ]; then
+ m1="$ret1:"
+ mi=`expr "$mi" + 1`
+ else
+ print_copy
+ m1="`matches`"
+ if [ -n "$m1" ]; then
+ # start new trend
+ mi='0'
+ else
+ print_uniq
+ fi
+ fi
+ else
+ matches="`matches`"
+ if [ -n "$matches" ]; then
+ ret1=`l_common "$matches" "$(l_add "$m1" '1')"`
+ if [ -n "$ret1" ]; then
+ # continue trend
+ m1="$ret1"
+ mi=`expr "$mi" + 1`
+ else
+ # start new trend
+ print_copy
+ m1="$matches"
+ mi='0'
+ fi
+ else
+ print_copy
+ m1=''
+ print_uniq
+ fi
+ fi
+
+ i=`expr $i + 1`
+done
+print_copy
+
diff --git a/diff/patch-daemon.sh b/diff/patch-daemon.sh
new file mode 100644
index 0000000..0c4530f
--- /dev/null
+++ b/diff/patch-daemon.sh
@@ -0,0 +1,39 @@
+#!/bin/sh
+name='patch-daemon'
+ver='1.0'
+# Copyright (C) 2009 Luke Shumaker
+#
+# This file is part of diff-daemon.
+#
+# diff-daemon is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2, or (at your option) any later version.
+#
+# diff-daemon is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with diff-daemon; see the file COPYING
+# If not, write to the Free Software Foundation,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+file="${1}"
+diff="${2-/dev/stdin}"
+
+while read line; do
+ com="`echo "$line" | sed 's/^\(.\).*$/\1/'`"
+ arg="`echo "$line" | sed "s/^$com//"`"
+ case "$com" in
+ n) echo "$arg";;
+ b)
+ i='0'; while [ "$i" -lt "$arg" ]; do
+ echo ''
+ i=`expr $i + 1`
+ done
+ :;;
+ c) sed -n "$arg p" "$file";;
+ esac
+done < "$diff"
+
diff --git a/pkg b/pkg
new file mode 160000
+Subproject 506c0c62b3c76b8086313b3f8977b4344838fe5
diff --git a/ptranslate/Makefile.in b/ptranslate/Makefile.in
new file mode 100644
index 0000000..c8d51dd
--- /dev/null
+++ b/ptranslate/Makefile.in
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+name = ptranslate
+ver = 1.9.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This file is part of pget.
+#
+# pget is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2, or (at your option) any later version.
+#
+# rvs is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with rvs; see the file COPYING.
+# If not, write to the Free Software Foundation,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+srcdir = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+
+trans_srcdir = @trans@
+
+INSTALL = install
+MKDIR = $(INSTALL) -d #mkdir -p
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+RM = rm -f
+
+all : translators ptranslate
+install : install-translators $(bindir)/ptranslate
+.PHONY : translators
+.SUFFIXES :
+VPATH = $(srcdir)
+
+translators : ; $(MAKE) -C $(trans_srcdir)
+install-translators : ; $(MAKE) -C $(trans_srcdir) install
+remove-translators : ; $(MAKE) -C $(trans_srcdir) remove
+
+% : %.sh
+ $(INSTALL_PROGRAM) $< $@
+
+$(bindir)/% : %
+ $(INSTALL_PROGRAM) $< $@
+
+Makefile : $(srcdir)/configure
+ $<
+
+remove: remove-translators
+ $(RM) $(bindir)/ptranslate
+
diff --git a/ptranslate/configure b/ptranslate/configure
new file mode 100755
index 0000000..fdccfea
--- /dev/null
+++ b/ptranslate/configure
@@ -0,0 +1,96 @@
+#!/usr/bin/env bash
+name='configure' # rvs configureation script
+#version='0.7.3'
+# Copyright (C) 2009 Luke Shumaker
+#
+# This file is part of rvs.
+#
+# rvs is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2, or (at your option) any later version.
+#
+# rvs is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with rvs; see the file COPYING.
+# If not, write to the Free Software Foundation,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ _CC='gcc'
+ _SHELL='/bin/sh'
+ _prefix='/usr/local'
+_exec_prefix='$(prefix)'
+ _bindir='$(exec_prefix)/bin'
+ _sbindir='$(exec_prefix)/sbin'
+ _libexecdir='$(exec_prefix)/libexec'
+ _srcdir=$(readlink -f `dirname "$0"`)
+ _trans='translators-posix'
+
+vars='CC SHELL prefix exec_prefix bindir sbindir libexecdir srcdir'
+
+error() {
+ echo "$name: $1" >> /dev/stderr
+ exit 1
+}
+
+args=`getopt -n "$name" -o "${sopt}" -l "${lopt}${vars}" -- "$@"`
+if [ $? == 0 ]; then
+ set -- $args
+ while [ $# -gt 0 ]; do case "$1" in
+ --) break;;
+ --*)
+ var0="${1/--/}"
+ match='false'
+ for var1 in $vars; do
+ if [ "$var0" == "$var1" ]; then
+ match='true'
+ break;
+ fi
+ done
+ if [ "$match" == 'true' ]; then
+ val="$2"
+ eval _$var0=$val
+ else
+ error "option \`$1' not recognized";
+ fi
+ :;;
+ *) error "option \`$1' not recognized";;
+ esac
+ shift
+ done
+else
+ error 'unable to parse command line arguments'
+fi
+
+echo '#!/bin/sed -f' > var.sed
+for var in $vars; do
+ var1="_$var"
+ val=${!var1}
+
+ # GNU bash optimized version
+ var=${var//':'/'\:'}
+ val=${val//':'/'\:'}
+ # POSIX version
+ #var=`echo "$var" | sed 's@:@\\:@g'`
+ #val=`echo "$val" | sed 's@:@\\:@g'`
+
+ echo "s:@$var@:$val:g" >> var.sed
+done
+
+echo "11 a# DO NOT edit this file, it has been generated by configure, and will
+11 a# be overwritten. Instead, edit the file \`Makefile.in'" >> var.sed
+
+Makefiles=`find "${_srcdir}/" -regextype posix-extended \
+-regex '(.*/)?Makefile\.in' -type f`
+
+for orig in $Makefiles; do
+ new=${orig/%.in/}
+ new=${new/#$_srcdir\//}
+ mkdir -p `dirname "$new"`
+ sed -f var.sed < "${orig}" > "${new}"
+done
+#rm var.sed
+
diff --git a/ptranslate/ptranslate.sh b/ptranslate/ptranslate.sh
new file mode 100644
index 0000000..0c377d1
--- /dev/null
+++ b/ptranslate/ptranslate.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+# pget translate
+ver="1.9.0"
+#
+# Copyright (C) 2009 Luke Shumaker
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# Originally written by Luke Shumaker <lukeshu@sbcglobal.net>.
+
+file="$1"
+echo "$file" >> /dev/stderr
+mime=`file -bi "$file"`
+echo "$mime" >> /dev/stderr
+translator="/usr/local/libexec/media-types/$mime"
+if [ -e "$translator" ]; then
+ "$0" "`"$translator" "$file"`"
+else
+ echo "$file"
+fi
+
diff --git a/ptranslate/translators-posix/Makefile.in b/ptranslate/translators-posix/Makefile.in
new file mode 100644
index 0000000..91f8c9c
--- /dev/null
+++ b/ptranslate/translators-posix/Makefile.in
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+ver = 1.9.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This file is part of pget.
+#
+# pget is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2, or (at your option) any later version.
+#
+# rvs is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with rvs; see the file COPYING.
+# If not, write to the Free Software Foundation,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+srcdir ?= @srcdir@/translators
+prefix ?= @prefix@
+exec_prefix ?= @exec_prefix@
+bindir ?= @bindir@
+sbindir ?= @sbindir@
+libexecdir ?= @libexecdir@
+
+INSTALL ?= install
+MKDIR ?= $(INSTALL) -d #mkdir -p
+INSTALL_PROGRAM ?= $(INSTALL)
+INSTALL_DATA ?= $(INSTALL) -m 644
+RM ?= rm -f
+
+all : x-bzip2 x-gzip x-tar
+install : mime install-x-bzip2 install-x-gzip install-x-tar
+.PHONY : install-x-bzip2 install-x-gzip install-x-tar
+.SUFFIXES :
+VPATH = $(srcdir)
+
+mime :
+ $(MKDIR) $(libexecdir)/media-types
+ $(MKDIR) $(libexecdir)/media-types/application
+ $(MKDIR) $(libexecdir)/media-types/audio
+ $(MKDIR) $(libexecdir)/media-types/image
+ $(MKDIR) $(libexecdir)/media-types/message
+ $(MKDIR) $(libexecdir)/media-types/model
+ $(MKDIR) $(libexecdir)/media-types/multipart
+ $(MKDIR) $(libexecdir)/media-types/text
+ $(MKDIR) $(libexecdir)/media-types/video
+
+
+install-x-bzip2: $(libexecdir)/media-types/application/x-bzip2
+install-x-gzip : $(libexecdir)/media-types/application/x-gzip
+install-x-tar : $(libexecdir)/media-types/application/x-tar
+
+$(libexecdir)/media-types/application/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(libexecdir)/media-types/audio/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(libexecdir)/media-types/image/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(libexecdir)/media-types/message/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(libexecdir)/media-types/model/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(libexecdir)/media-types/multipart/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(libexecdir)/media-types/text/% : % mime; $(INSTALL_PROGRAM) $< $@
+$(libexecdir)/media-types/video/% : % mime; $(INSTALL_PROGRAM) $< $@
+
+remove :
+ $(RM) -r $(libexecdir)/media-types
+
+% : %.sh
+ $(INSTALL_PROGRAM) $< $@
+
diff --git a/ptranslate/translators-posix/x-bzip2.sh b/ptranslate/translators-posix/x-bzip2.sh
new file mode 100644
index 0000000..0402784
--- /dev/null
+++ b/ptranslate/translators-posix/x-bzip2.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+file="$1"
+bzip2 -dk "$file"
+out="`echo "$file" | sed -r 's/\.(bz2)|(bz)|(tbz2)|(tbz)|(bzip2)$//'`"
+if [ "$out" == "$file" ]; then out="$out.out"; fi
+echo "$out"
+
diff --git a/ptranslate/translators-posix/x-gzip.sh b/ptranslate/translators-posix/x-gzip.sh
new file mode 100644
index 0000000..6177b7f
--- /dev/null
+++ b/ptranslate/translators-posix/x-gzip.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+file="$1"
+tmp=`mktemp`
+cp "$file" "$tmp"
+gzip -dN "$file"
+mv "$tmp" "$file"
+
diff --git a/ptranslate/translators-posix/x-tar.sh b/ptranslate/translators-posix/x-tar.sh
new file mode 100644
index 0000000..d7a5872
--- /dev/null
+++ b/ptranslate/translators-posix/x-tar.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+cd `dirname "$1"`
+tar -xvf "$1" | sort | sed 's:/.*::' | uniq
+
diff --git a/rvs/.bzr/README b/rvs/.bzr/README
new file mode 100644
index 0000000..4f8e767
--- /dev/null
+++ b/rvs/.bzr/README
@@ -0,0 +1,3 @@
+This is a Bazaar control directory.
+Do not change any files in this directory.
+See http://bazaar-vcs.org/ for more information about Bazaar.
diff --git a/rvs/.bzr/branch-format b/rvs/.bzr/branch-format
new file mode 100644
index 0000000..9eb09b7
--- /dev/null
+++ b/rvs/.bzr/branch-format
@@ -0,0 +1 @@
+Bazaar-NG meta directory, format 1
diff --git a/rvs/.bzr/branch/branch.conf b/rvs/.bzr/branch/branch.conf
new file mode 100644
index 0000000..8378db9
--- /dev/null
+++ b/rvs/.bzr/branch/branch.conf
@@ -0,0 +1 @@
+push_location = bzr+ssh://bazaar.launchpad.net/%7Elukeshu/rvs/rvs-0.6.x/
diff --git a/rvs/.bzr/branch/format b/rvs/.bzr/branch/format
new file mode 100644
index 0000000..1fc6b88
--- /dev/null
+++ b/rvs/.bzr/branch/format
@@ -0,0 +1 @@
+Bazaar Branch Format 6 (bzr 0.15)
diff --git a/rvs/.bzr/branch/last-revision b/rvs/.bzr/branch/last-revision
new file mode 100644
index 0000000..3352a2a
--- /dev/null
+++ b/rvs/.bzr/branch/last-revision
@@ -0,0 +1 @@
+61 luke@hp-dv6426us-u904-20091024062322-xmo9ttwak45a7fdp
diff --git a/rvs/.bzr/branch/tags b/rvs/.bzr/branch/tags
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/rvs/.bzr/branch/tags
diff --git a/rvs/.bzr/checkout/conflicts b/rvs/.bzr/checkout/conflicts
new file mode 100644
index 0000000..0dc2d3a
--- /dev/null
+++ b/rvs/.bzr/checkout/conflicts
@@ -0,0 +1 @@
+BZR conflict list format 1
diff --git a/rvs/.bzr/checkout/dirstate b/rvs/.bzr/checkout/dirstate
new file mode 100644
index 0000000..47c9798
--- /dev/null
+++ b/rvs/.bzr/checkout/dirstate
Binary files differ
diff --git a/rvs/.bzr/checkout/format b/rvs/.bzr/checkout/format
new file mode 100644
index 0000000..9ffb5e4
--- /dev/null
+++ b/rvs/.bzr/checkout/format
@@ -0,0 +1 @@
+Bazaar Working Tree Format 4 (bzr 0.15)
diff --git a/rvs/.bzr/repository/format b/rvs/.bzr/repository/format
new file mode 100644
index 0000000..520349d
--- /dev/null
+++ b/rvs/.bzr/repository/format
@@ -0,0 +1 @@
+Bazaar pack repository format 1 (needs bzr 0.92)
diff --git a/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.iix b/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.iix
new file mode 100644
index 0000000..92138f3
--- /dev/null
+++ b/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.iix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.rix b/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.rix
new file mode 100644
index 0000000..b7912e9
--- /dev/null
+++ b/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.rix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.six b/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.tix b/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.tix
new file mode 100644
index 0000000..ae8b621
--- /dev/null
+++ b/rvs/.bzr/repository/indices/1036c514ea03744eae006a80ded38791.tix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.iix b/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.iix
new file mode 100644
index 0000000..984f495
--- /dev/null
+++ b/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.iix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.rix b/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.rix
new file mode 100644
index 0000000..3ddeb2b
--- /dev/null
+++ b/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.rix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.six b/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.tix b/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.tix
new file mode 100644
index 0000000..d539bcb
--- /dev/null
+++ b/rvs/.bzr/repository/indices/4a4922cd90a3494c98c5295b6067aab2.tix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.iix b/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.iix
new file mode 100644
index 0000000..824623d
--- /dev/null
+++ b/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.iix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.rix b/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.rix
new file mode 100644
index 0000000..5466d23
--- /dev/null
+++ b/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.rix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.six b/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.tix b/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.tix
new file mode 100644
index 0000000..27435ec
--- /dev/null
+++ b/rvs/.bzr/repository/indices/4f10fb86e70521af6c4653097e8afe8f.tix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.iix b/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.iix
new file mode 100644
index 0000000..5c3c0f5
--- /dev/null
+++ b/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.iix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.rix b/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.rix
new file mode 100644
index 0000000..a264a1f
--- /dev/null
+++ b/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.rix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.six b/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.tix b/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.tix
new file mode 100644
index 0000000..f6a9b66
--- /dev/null
+++ b/rvs/.bzr/repository/indices/84cda64e8317cee9cb126d20fa03c28d.tix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.iix b/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.iix
new file mode 100644
index 0000000..15f0529
--- /dev/null
+++ b/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.iix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.rix b/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.rix
new file mode 100644
index 0000000..75ef8d2
--- /dev/null
+++ b/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.rix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.six b/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.tix b/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.tix
new file mode 100644
index 0000000..5fd3f61
--- /dev/null
+++ b/rvs/.bzr/repository/indices/8b3293862c68c34355a8179f163f4587.tix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.iix b/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.iix
new file mode 100644
index 0000000..0119da8
--- /dev/null
+++ b/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.iix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.rix b/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.rix
new file mode 100644
index 0000000..4972ff0
--- /dev/null
+++ b/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.rix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.six b/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.tix b/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.tix
new file mode 100644
index 0000000..2339178
--- /dev/null
+++ b/rvs/.bzr/repository/indices/c1e3c765aa14449d0e2caa0bcd56e6af.tix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.iix b/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.iix
new file mode 100644
index 0000000..c3a32ce
--- /dev/null
+++ b/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.iix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.rix b/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.rix
new file mode 100644
index 0000000..2e78391
--- /dev/null
+++ b/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.rix
Binary files differ
diff --git a/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.six b/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.tix b/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.tix
new file mode 100644
index 0000000..9382630
--- /dev/null
+++ b/rvs/.bzr/repository/indices/e6c5cf230e92b3d72d6e11c6623918d3.tix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.iix b/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.iix
new file mode 100644
index 0000000..73d97a5
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.iix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.pack b/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.pack
new file mode 100644
index 0000000..001566e
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.pack
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.rix b/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.rix
new file mode 100644
index 0000000..21197a1
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.rix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.six b/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.tix b/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.tix
new file mode 100644
index 0000000..2526b6e
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/06825b2f8996671035784a35cd4c7821.tix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.iix b/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.iix
new file mode 100644
index 0000000..8e6d9c4
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.iix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.pack b/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.pack
new file mode 100644
index 0000000..ab73e62
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.pack
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.rix b/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.rix
new file mode 100644
index 0000000..f7a3268
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.rix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.six b/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.tix b/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.tix
new file mode 100644
index 0000000..d561ca4
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/0c7eee05a3be765cb91014194440ff9b.tix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.iix b/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.iix
new file mode 100644
index 0000000..ea239f1
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.iix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.pack b/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.pack
new file mode 100644
index 0000000..a7ccd3f
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.pack
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.rix b/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.rix
new file mode 100644
index 0000000..a0001f6
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.rix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.six b/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.tix b/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.tix
new file mode 100644
index 0000000..e179f65
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/1b411d4940f74dd4b27bc526fdcf1cef.tix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.iix b/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.iix
new file mode 100644
index 0000000..c414e64
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.iix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.pack b/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.pack
new file mode 100644
index 0000000..f140605
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.pack
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.rix b/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.rix
new file mode 100644
index 0000000..4eb0f92
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.rix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.six b/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.tix b/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.tix
new file mode 100644
index 0000000..76200b4
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/3db54bcc65068bbc157486a9915debde.tix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.iix b/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.iix
new file mode 100644
index 0000000..b6e39bc
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.iix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.pack b/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.pack
new file mode 100644
index 0000000..4108c17
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.pack
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.rix b/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.rix
new file mode 100644
index 0000000..0b54ed8
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.rix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.six b/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.tix b/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.tix
new file mode 100644
index 0000000..961fb4b
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/6408aec0ea492614b23d4ef515016ee9.tix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.iix b/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.iix
new file mode 100644
index 0000000..c9a5a5e
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.iix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.pack b/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.pack
new file mode 100644
index 0000000..eea83aa
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.pack
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.rix b/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.rix
new file mode 100644
index 0000000..462eee2
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.rix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.six b/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.tix b/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.tix
new file mode 100644
index 0000000..41c8483
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/81055d99edb54ca510e0fccd15b9d8f6.tix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.iix b/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.iix
new file mode 100644
index 0000000..4782e69
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.iix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.pack b/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.pack
new file mode 100644
index 0000000..f00e24c
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.pack
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.rix b/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.rix
new file mode 100644
index 0000000..31ee26c
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.rix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.six b/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.tix b/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.tix
new file mode 100644
index 0000000..118b976
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/b4a3f73f6501574f3aadadba943b7347.tix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.iix b/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.iix
new file mode 100644
index 0000000..ecd52bd
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.iix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.pack b/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.pack
new file mode 100644
index 0000000..6411c74
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.pack
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.rix b/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.rix
new file mode 100644
index 0000000..5aae564
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.rix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.six b/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.tix b/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.tix
new file mode 100644
index 0000000..b0d9c25
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/b4ed4bd06ca83f0ef3c5c8a1e2190c15.tix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.iix b/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.iix
new file mode 100644
index 0000000..bf70f20
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.iix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.pack b/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.pack
new file mode 100644
index 0000000..99300ef
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.pack
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.rix b/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.rix
new file mode 100644
index 0000000..6cf341c
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.rix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.six b/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.tix b/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.tix
new file mode 100644
index 0000000..55e167d
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/ba17b99bdc842955c33bbc391c6bbb84.tix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.iix b/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.iix
new file mode 100644
index 0000000..da2a89f
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.iix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.pack b/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.pack
new file mode 100644
index 0000000..4de9d64
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.pack
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.rix b/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.rix
new file mode 100644
index 0000000..bd18a85
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.rix
Binary files differ
diff --git a/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.six b/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.six
new file mode 100644
index 0000000..1206f93
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.six
@@ -0,0 +1,5 @@
+Bazaar Graph Index 1
+node_ref_lists=0
+key_elements=1
+len=0
+
diff --git a/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.tix b/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.tix
new file mode 100644
index 0000000..fda2e90
--- /dev/null
+++ b/rvs/.bzr/repository/obsolete_packs/d55b545560aaf03f5b65ba62f9375a31.tix
Binary files differ
diff --git a/rvs/.bzr/repository/pack-names b/rvs/.bzr/repository/pack-names
new file mode 100644
index 0000000..e56f3a2
--- /dev/null
+++ b/rvs/.bzr/repository/pack-names
Binary files differ
diff --git a/rvs/.bzr/repository/packs/1036c514ea03744eae006a80ded38791.pack b/rvs/.bzr/repository/packs/1036c514ea03744eae006a80ded38791.pack
new file mode 100644
index 0000000..1bd19c0
--- /dev/null
+++ b/rvs/.bzr/repository/packs/1036c514ea03744eae006a80ded38791.pack
Binary files differ
diff --git a/rvs/.bzr/repository/packs/4a4922cd90a3494c98c5295b6067aab2.pack b/rvs/.bzr/repository/packs/4a4922cd90a3494c98c5295b6067aab2.pack
new file mode 100644
index 0000000..6a03f0c
--- /dev/null
+++ b/rvs/.bzr/repository/packs/4a4922cd90a3494c98c5295b6067aab2.pack
Binary files differ
diff --git a/rvs/.bzr/repository/packs/4f10fb86e70521af6c4653097e8afe8f.pack b/rvs/.bzr/repository/packs/4f10fb86e70521af6c4653097e8afe8f.pack
new file mode 100644
index 0000000..3c63fcd
--- /dev/null
+++ b/rvs/.bzr/repository/packs/4f10fb86e70521af6c4653097e8afe8f.pack
Binary files differ
diff --git a/rvs/.bzr/repository/packs/84cda64e8317cee9cb126d20fa03c28d.pack b/rvs/.bzr/repository/packs/84cda64e8317cee9cb126d20fa03c28d.pack
new file mode 100644
index 0000000..01873d9
--- /dev/null
+++ b/rvs/.bzr/repository/packs/84cda64e8317cee9cb126d20fa03c28d.pack
Binary files differ
diff --git a/rvs/.bzr/repository/packs/8b3293862c68c34355a8179f163f4587.pack b/rvs/.bzr/repository/packs/8b3293862c68c34355a8179f163f4587.pack
new file mode 100644
index 0000000..7616365
--- /dev/null
+++ b/rvs/.bzr/repository/packs/8b3293862c68c34355a8179f163f4587.pack
Binary files differ
diff --git a/rvs/.bzr/repository/packs/c1e3c765aa14449d0e2caa0bcd56e6af.pack b/rvs/.bzr/repository/packs/c1e3c765aa14449d0e2caa0bcd56e6af.pack
new file mode 100644
index 0000000..7484d97
--- /dev/null
+++ b/rvs/.bzr/repository/packs/c1e3c765aa14449d0e2caa0bcd56e6af.pack
Binary files differ
diff --git a/rvs/.bzr/repository/packs/e6c5cf230e92b3d72d6e11c6623918d3.pack b/rvs/.bzr/repository/packs/e6c5cf230e92b3d72d6e11c6623918d3.pack
new file mode 100644
index 0000000..ab1be22
--- /dev/null
+++ b/rvs/.bzr/repository/packs/e6c5cf230e92b3d72d6e11c6623918d3.pack
Binary files differ