This commit is contained in:
Joey Hess 2018-03-21 09:19:06 -04:00
parent 1cf705d416
commit abffea5fcb
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 15 additions and 0 deletions

View file

@ -14,3 +14,8 @@ repository.
And, [[export preferred content]] would be a useful feature for
excluding some files from a tree exported to android.
----
initremote will need to store the uuid of the remote in it, to avoid
operating on the wrong device.

View file

@ -16,6 +16,8 @@ The remote interface needs one new method, to list the changed/new and
deleted files. It will be up to remotes to implement that if they can
support importing.
----
One way for a remote to do it, assuming it has mtimes, is to export
files to the remote with their mtime set to the date of the treeish
being exported (when the treeish is a commit, which has dates, and not
@ -29,4 +31,12 @@ but keep a list somewhere (eg a file on the remote) of the timestamps of
each exported file, and then it can later look for files with newer
timestamps.
----
If multiple repos can access the remote at the same time, then there's a
potential problem when one is exporting a new tree, and the other one is
importing from the remote.
----
See also, [[adb_special_remote]]