bug
This commit is contained in:
parent
5aad0cea83
commit
c2c2abe6ca
2 changed files with 32 additions and 0 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="joey"
|
||||||
|
subject="""comment 1"""
|
||||||
|
date="2023-07-05T16:00:25Z"
|
||||||
|
content="""
|
||||||
|
Reproduced. The adds do run in parallel, the content transfers do not.
|
||||||
|
"""]]
|
25
doc/bugs/assist_--jobs_loses_location_information.mdwn
Normal file
25
doc/bugs/assist_--jobs_loses_location_information.mdwn
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
git init g
|
||||||
|
cd g
|
||||||
|
git annex init
|
||||||
|
git commit --allow-empty -m foo
|
||||||
|
cd ..
|
||||||
|
git clone g g2
|
||||||
|
git clone g g3
|
||||||
|
cd g3
|
||||||
|
git remote add g2 ../g2
|
||||||
|
git-annex assist
|
||||||
|
date > n
|
||||||
|
date > n2
|
||||||
|
date > n3
|
||||||
|
dd if=/dev/urandom of=n4 bs=1M count=200
|
||||||
|
dd if=/dev/urandom of=n5 bs=1M count=200
|
||||||
|
git-annex assist --jobs=2
|
||||||
|
git-annex move --from origin
|
||||||
|
git-annex move --from g2
|
||||||
|
|
||||||
|
The final move fails, complaining it's not safe to drop the last copy. It
|
||||||
|
has somehow lost track of the fact that there's a local copy.
|
||||||
|
|
||||||
|
This only happens when using assist. Using add followed by sync --content
|
||||||
|
doesn't have the problem. And with --jobs=1 it doesn't have the problem
|
||||||
|
either. --[[Joey]]
|
Loading…
Reference in a new issue