git-remote-annex: support importrree=yes remotes
When exporttree=yes is also set. Probably it would also be possible to support ones with only importtree=yes, by enabling exporttree=yes for the remote only when using git-remote-annex, but let's keep this simple... I'm not sure what gets recorded in .git/annex/ state differently in the two cases that might cause a problem when doing that. Note that the full annex:: urls generated and displayed for such a remote omit the importree=yes. Which is ok, cloning from such an url uses an exporttree=remote, but the git-annex branch doesn't get written by this program, so once the real config is available from the git-annex branch, it will still function as an importree=yes remote.
This commit is contained in:
parent
126d188812
commit
e64add7cdf
3 changed files with 32 additions and 11 deletions
|
@ -15,10 +15,6 @@ This is implememented and working. Remaining todo list for it:
|
|||
not display any useful error message. git fetch does, but it seems
|
||||
git clone eats git-remote-annex stderr.
|
||||
|
||||
* Cloning from an annex:: url with importtree=yes doesn't work
|
||||
(with or without exporttree=yes). This is because the ContentIdentifier
|
||||
db is not populated. It should be possible to work around this.
|
||||
|
||||
* datalad-annex supports cloning from the web special remote,
|
||||
using an url that contains the result of pushing to eg, a directory
|
||||
special remote.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue