fixes to export db lookup when accessing importtree=yes

Now in a fresh clone with a importtree=yes remote enabled,
git annex fsck --from the remote works.
This commit is contained in:
Joey Hess 2019-03-07 14:10:56 -04:00
parent 93025dd59f
commit 9a72785307
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 37 additions and 34 deletions

View file

@ -10,14 +10,12 @@ this.
## implementation notes
* getknowncids needs to update the export db when the git-annex branch is
newer, otherwise it can miss the most recent information
Note that updating the db needs to write lock it.
* Need to support annex-tracking-branch configuration, which documentation
says makes git-annex sync and assistant do imports.
* git-annex import needs to say when it's downloading files, display
progress bars, and support concurrent downloads.
* When on an adjusted unlocked branch, need to import the files unlocked.
Also, the tracking branch code needs to know about such branches,
currently it will generate the wrong tracking branch.