git-annex/Command
Joey Hess e06feb7316
honor preferred content when importing
Importing from a special remote honors its preferred content too; unwanted
files are not imported. But, some preferred content expressions can't be
checked before files are imported, and trying to import with such an
expression will fail.

Tested this with scenarios including changing the preferred content
expression and making sure merging the import didn't delete files that were
no longer wanted.

There was one minor inefficiency mentioned in the todo that I punted on.
2019-05-21 14:38:06 -04:00
..
Add.hs avoid ingest lockdown file escaping the withOtherTmp call 2019-05-07 13:04:57 -04:00
AddUnused.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
AddUrl.hs addurl --file: Fix a bug that made youtube-dl be used unneccessarily when adding an html url that does not contain any media. 2019-03-18 13:34:29 -04:00
Adjust.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Assistant.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Benchmark.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
CalcKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
CheckPresentKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Commit.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Config.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ConfigList.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ContentLocation.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Copy.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Dead.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Describe.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
DiffDriver.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Direct.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Drop.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
DropKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
DropUnused.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
EnableRemote.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
EnableTor.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ExamineKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Expire.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Export.hs add back non-preferred files to imported tree 2019-05-20 16:43:52 -04:00
Find.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
FindRef.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Fix.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Forget.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
FromKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Fsck.hs fsck: Detect situations where annex.thin has caused data loss to the content of locked files. 2019-03-18 15:59:43 -04:00
FuzzTest.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GCryptSetup.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Get.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Group.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GroupWanted.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Help.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Import.hs honor preferred content when importing 2019-05-21 14:38:06 -04:00
ImportFeed.hs distinguish between feed download and parse failures 2019-04-21 10:35:08 -04:00
InAnnex.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Indirect.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Info.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Init.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
InitRemote.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Inprogress.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
List.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Lock.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
LockContent.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Log.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
LookupKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Map.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
MatchExpression.hs support standard and groupwanted in keyless mode 2019-05-14 14:59:03 -04:00
Merge.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
MetaData.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Migrate.hs fsck: Detect situations where annex.thin has caused data loss to the content of locked files. 2019-03-18 15:59:43 -04:00
Mirror.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Move.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Multicast.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
NotifyChanges.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
NumCopies.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
P2P.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
P2PStdIO.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
PostReceive.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
PreCommit.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Proxy.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ReadPresentKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
RecvKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
RegisterUrl.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Reinit.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Reinject.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ReKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
RemoteDaemon.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
RenameRemote.hs prevent renaming to name already in use 2019-04-16 12:23:46 -04:00
Repair.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Required.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ResolveMerge.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
RmUrl.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Schedule.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Semitrust.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
SendKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
SetKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
SetPresentKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Smudge.hs avoid ingest lockdown file escaping the withOtherTmp call 2019-05-07 13:04:57 -04:00
Status.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Sync.hs filter exported tree through remote's preferred content setting 2019-05-20 11:54:55 -04:00
Test.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
TestRemote.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
TransferInfo.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
TransferKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
TransferKeys.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Trust.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Unannex.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Undo.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Ungroup.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Uninit.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Unlock.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Untrust.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Unused.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Upgrade.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
VAdd.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
VCycle.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Version.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
VFilter.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Vicfg.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
View.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
VPop.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Wanted.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Watch.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
WebApp.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Whereis.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00