proxying to exporttree=yes annexobjects=yes basically working
It works when using git-annex sync/push/assist, or when manually sending all content to the proxied remote before pushing to the proxy remote. But when the push comes before the content is sent, sending content does not update the exported tree.
This commit is contained in:
parent
be5c86c248
commit
3289b1ad02
8 changed files with 164 additions and 54 deletions
|
@ -94,7 +94,10 @@ seek o = startConcurrency commandStages $ do
|
|||
inRepo (Git.Ref.tree (exportTreeish o))
|
||||
|
||||
mtbcommitsha <- getExportCommit r (exportTreeish o)
|
||||
seekExport r tree mtbcommitsha
|
||||
|
||||
seekExport :: Remote -> ExportFiltered Git.Ref -> Maybe (RemoteTrackingBranch, Sha) -> CommandSeek
|
||||
seekExport r tree mtbcommitsha = do
|
||||
db <- openDb (uuid r)
|
||||
writeLockDbWhile db $ do
|
||||
changeExport r db tree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue