I noticed that I was missing some hard linking within my Darcs repo
branches. So using darcs 2.0.2, I did
darcs optimize --relink --repodir $PWD/foo --sibling $PWD/bar --sibling $PWD/baz ...
For each branch (--repodir), with all branches as --sibling arguments.
Afterwards, I checked an example file's hard linking, and I find that
everything is hard linked together now -- except the cache!
$ ssh fs find -name 0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d -ls | sort
8636648 4 -rw-rw-r-- 1 twb cyber 82 Nov 23 17:23 ./.Auto/.cache/darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs+droundy/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs+hashed-storage/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs+issue1478-haskeline-prompts/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs+twb.~1~/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs+user-manual.~0~/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs+user-manual.~15~/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs+user-manual.~1~/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs+user-manual.~2~/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs+user-manual.~3~/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs+user-manual.~4~/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs.~1~/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/darcs/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
8837030 4 -rw-rw-r-- 13 twb cyber 82 Aug 28 11:34 ./Desktop/Darcs/delete-me/_darcs/patches/0000000064-f95a452bd280282a6c428fe1020374232fe229bb67d0e553ffdd6eb13bab645d
After re-running the same "darcs optimize" operations with 2.3.0, and
the problem remained the same.
|