This commit is contained in:
http://bigasterisk.com/ 2013-07-10 07:11:17 +00:00 committed by admin
parent 7f05d52fc0
commit 9691ea18a8

View file

@ -0,0 +1,63 @@
### Please describe the problem.
I created somelargefile on host1. A file with that name appears in the right place on host2 but I can't use it:
host2:~/annex% cat somelargefile
cat: somelargefile: No such file or directory
### What steps will reproduce the problem?
I am running http://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz and I connected two hosts with the 'Local computer' workflow. I run assistant on both sides.
I make a file on either side, wait a minute for it to sync, and then observe this on the remote side:
lrwxrwxrwx 1 drewp drewp 178 Jul 9 23:58 somelargefile -> .git/annex/objects/Pw/vw/SHA256E-s8--bf87165d313027621936809a01da1994f9bd20ff9580c1380e7636e2443fe4ed/SHA256E-s8--bf87165d313027621936809a01da1994f9bd20ff9580c1380e7636e2443fe4ed
host2:~/annex% ls -l .git/annex/objects/Pw/vw/SHA256E-s8--bf87165d313027621936809a01da1994f9bd20ff9580c1380e7636e2443fe4ed/
total 4
-rw------- 1 drewp drewp 14 Jul 9 23:58 SHA256E-s8--bf87165d313027621936809a01da1994f9bd20ff9580c1380e7636e2443fe4ed.map
My "large file" is in fact 8 bytes long. The .map file contains the string "somelargefile\n"
### What version of git-annex are you using? On what operating system?
git-annex version: 4.20130709-g339d1e0
build flags: Assistant Webapp Pairing Testsuite S3 WebDAV Inotify DBus XMPP
local repository version: 3
default repository version: 3
supported repository versions: 3 4
upgrade supported from repository versions: 0 1 2
ubuntu 12.10 64-bit
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
New lines in .git/annex/daemon.log when I add another new file:
(merging synced/git-annex into git-annex...)
Updating bac8b65..0422d27
Fast-forward
newfile2 | 1 +
1 file changed, 1 insertion(+)
create mode 120000 newfile2
[2013-07-10 00:08:38 PDT] Committer: Committing changes to git
(Recording state in git...)
[2013-07-10 00:08:38 PDT] Pusher: Syncing with host1.local_annex
To ssh://drewp@git-annex-host1.local-drewp_annex/~/annex/
a80b6f5..72c0865 git-annex -> synced/git-annex
Already up-to-date.
# End of transcript or log.
"""]]