diff options
author | https://www.google.com/accounts/o8/id?id=AItOawlxg9HfyLFn0E87p8Em9P5G9YBUr8JYrkE <Yves@web> | 2012-04-11 09:36:34 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-04-11 09:36:34 +0000 |
commit | af61a5f986d1acb39901c78f23a2859ae22d5098 (patch) | |
tree | bbf082e38ee3910456f304e6d5ecf9b96cd8c7cf /doc | |
parent | 75ff4f77b25536fe50560ce6627bac321ca5fe4e (diff) |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/Problem_with_bup:_cannot_lock_refs.mdwn | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/forum/Problem_with_bup:_cannot_lock_refs.mdwn b/doc/forum/Problem_with_bup:_cannot_lock_refs.mdwn new file mode 100644 index 000000000..8a773c4cb --- /dev/null +++ b/doc/forum/Problem_with_bup:_cannot_lock_refs.mdwn @@ -0,0 +1,29 @@ +Hi! + +Using bup for storing seems a good idea to save space, but I still have a problem when trying to copy files to my local git repo. +I have two partitions: +- /Data (NTFS) +- / (ext4) + +I turned the directory /Data/Audio into a git-annex repo, and cloned it into /home/me/AudioClone +I added the remote bup to AudioClone by doing: +git annex initremote mybup type=bup encryption=none buprepo= + +But when I try to copy some files that I have previously got by "git annex get" by doing: +git annex copy /home/me/AudioClone/someartist/somealbum --to mybup +it fails and tells me: + +copy Order To Die/01 Morituri Te Salutant.flac (to mybup...) +fatal: Cannot lock the ref 'refs/heads/WORM-s7351771-m1318841909--01 Morituri Te Salutant.flac'. +Traceback (most recent call last): + File "/usr/lib/bup/cmd/bup-split", line 170, in <module> + git.update_ref(refname, commit, oldref) + File "/usr/lib/bup/bup/git.py", line 835, in update_ref + _git_wait('git update-ref', p) + File "/usr/lib/bup/bup/git.py", line 930, in _git_wait + raise GitError('%s returned %d' % (cmd, rv)) +bup.git.GitError: git update-ref returned 128 + +for each file, **except for the album cover file**, which is a simple JPG that bup doesn't try to split. This one gets copied nicely but the big FLAC files don't. + +I tried to restart my session, in case bup adds my username to a group or something. |