info: Show when a remote is configured with importtree
This commit is contained in:
parent
ae21c88640
commit
15bd7d57ca
2 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,7 @@ git-annex (7.20190323) UNRELEASED; urgency=medium
|
||||||
a special remote. Especially useful when you want to reuse the name
|
a special remote. Especially useful when you want to reuse the name
|
||||||
of an old remote for something new.
|
of an old remote for something new.
|
||||||
* Drop support for building with aws older than 0.14.
|
* Drop support for building with aws older than 0.14.
|
||||||
|
* info: Show when a remote is configured with importtree.
|
||||||
|
|
||||||
-- Joey Hess <id@joeyh.name> Tue, 09 Apr 2019 14:07:53 -0400
|
-- Joey Hess <id@joeyh.name> Tue, 09 Apr 2019 14:07:53 -0400
|
||||||
|
|
||||||
|
|
|
@ -177,6 +177,9 @@ adjustExportImport r = case M.lookup "exporttree" (config r) of
|
||||||
then checkPresent r'
|
then checkPresent r'
|
||||||
else \k -> anyM (checkpresent k)
|
else \k -> anyM (checkpresent k)
|
||||||
=<< getexportlocs exportdbv k
|
=<< getexportlocs exportdbv k
|
||||||
|
, getInfo = do
|
||||||
|
is <- getInfo r'
|
||||||
|
return (is++[("import", "yes")])
|
||||||
}
|
}
|
||||||
|
|
||||||
isexport dbv = return $ r
|
isexport dbv = return $ r
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue