update
This commit is contained in:
parent
1cf705d416
commit
abffea5fcb
2 changed files with 15 additions and 0 deletions
|
@ -14,3 +14,8 @@ repository.
|
||||||
|
|
||||||
And, [[export preferred content]] would be a useful feature for
|
And, [[export preferred content]] would be a useful feature for
|
||||||
excluding some files from a tree exported to android.
|
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.
|
||||||
|
|
|
@ -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
|
deleted files. It will be up to remotes to implement that if they can
|
||||||
support importing.
|
support importing.
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
One way for a remote to do it, assuming it has mtimes, is to export
|
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
|
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
|
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
|
each exported file, and then it can later look for files with newer
|
||||||
timestamps.
|
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]]
|
See also, [[adb_special_remote]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue