git-annex/Remote
Joey Hess 451171b7c1
clean up url removal presence update
* rmurl: Fix a case where removing the last url left git-annex thinking
  content was still present in the web special remote.
* SETURLPRESENT, SETURIPRESENT, SETURLMISSING, and SETURIMISSING
  used to update the presence information of the external special remote
  that called them; this was not documented behavior and is no longer done.

Done by making setUrlPresent and setUrlMissing only update presence info
for the web, and only when the url is a web url. See the comment for
reasoning about why that's the right thing to do.

In AddUrl, had to make it update location tracking, to handle the
non-web-url case.

This commit was sponsored by Ewen McNeill on Patreon.
2018-10-04 17:35:49 -04:00
..
Directory remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
External add GETINFO to external protocol (for ronnypfa) 2018-06-08 11:56:24 -04:00
Helper clean P2P protocol shutdown on EOF try 2 2018-09-25 16:49:59 -04:00
Rsync Support exporttree=yes for rsync special remotes. 2018-02-28 13:36:20 -04:00
WebDAV webdav: Avoid unncessisarily creating the collection at the top of the repo 2017-10-11 11:10:33 -04:00
Adb.hs add Remote.readonly 2018-08-30 11:12:18 -04:00
BitTorrent.hs clean up url removal presence update 2018-10-04 17:35:49 -04:00
Bup.hs export appendonly support 2018-08-30 11:18:20 -04:00
Ddar.hs add Remote.readonly 2018-08-30 11:12:18 -04:00
Directory.hs add Remote.readonly 2018-08-30 11:12:18 -04:00
External.hs clean up url removal presence update 2018-10-04 17:35:49 -04:00
GCrypt.hs add Remote.readonly 2018-08-30 11:12:18 -04:00
Git.hs Improve display when git config download from a http remote fails. 2018-10-03 12:31:09 -04:00
Glacier.hs remote.name.annex-security-allow-unverified-downloads 2018-09-25 15:34:47 -04:00
Hook.hs remote.name.annex-security-allow-unverified-downloads 2018-09-25 15:34:47 -04:00
List.hs change Remote.repo to Remote.getRepo 2018-06-04 15:30:26 -04:00
P2P.hs clean P2P protocol shutdown on EOF try 2 2018-09-25 16:49:59 -04:00
Rsync.hs add Remote.readonly 2018-08-30 11:12:18 -04:00
S3.hs clean up url removal presence update 2018-10-04 17:35:49 -04:00
Tahoe.hs add Remote.readonly 2018-08-30 11:12:18 -04:00
Web.hs clean up url removal presence update 2018-10-04 17:35:49 -04:00
WebDAV.hs add Remote.readonly 2018-08-30 11:12:18 -04:00