On Tue, Oct 21, 2014 at 1:16 AM, John Found <[email protected]> wrote:
> 1. Extract all versions tagged with specific tag (for example "release"). > 2. From the set of these versions, select only the newer than the version > installed on the target machine. > 3. (this is the only point I know how to make) Get the ID of this version > and download the ZIP/TAR file from the server. > If you don't _really_ need to compare the versions, you can can get features 1 and 3 in a single step: http://yourrepo/zip/whatever.zip?uuid=TAGNAME that will grab the latest of whatever branch you're interested in. If you desperately need to get the client's version, you can grep that from 'fossil status,' but you'll get a UUID, which is not (by itself) sortable in a useful way, so the UUID itself does not tell you if the version is newer or older - you'll have to find the UUIDs in the timeline (or event table) and see which one came later. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

