sync: import when annex-tracking-branch is configured

This works, and tested syncing both gets changes from a special remote
and sends changes to it, keeping it fully in sync nicely!

But have not tried it with a subdir configured.
This commit is contained in:
Joey Hess 2019-03-09 13:57:49 -04:00
parent ca1a3caaa8
commit c755788256
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 41 additions and 9 deletions

View file

@ -10,6 +10,16 @@ this.
## implementation notes
* renameExport is disabled in a way that makes export tree
complain unncessarily verbosely. Perhaps change renameExport
to a Maybe so it can know when it's not available.
* Does export of master:subdir update the remote tracking branch right?
* Does sync --content with remote.name.annex-tracking-branch=master:subdir
export the right tree and update the remote tracking branch right?
Does it import correctly?
* Need to support annex-tracking-branch configuration, which documentation
says makes git-annex sync and assistant do imports.