On Tue, Aug 19, 2014 at 9:12 PM, <org.fossil-scm.fossil-us...@io7m.com> wrote:
> I'm writing a program that depends on the functionality of > test-name-to-id. Given that the command is completely undocumented and > doesn't appear in any help texts, is that sufficient warning to suggest > that the command may be removed at any moment and shouldn't be used for > anything? > You might be interested in a standalone alternative: [stephan@host:~/cvs/fossil/fossil]$ f-resolve trunk current prev rid:1 ee46563cbdc28face0215bc1a5cf81f0b589d88a 26866 trunk ca5d6f2b482bd08c58886b0fd4a96aaffc56f893 26901 current d8902124d481ced2a800fc3ec4d3212640c25563 26899 prev a28c83647dfa805f05f3204a7e146eb1f0d90505 1 rid:1 that's available in the libfossil sources: http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/wiki?name=f-tools > I could open the repository and perform the SQL query manually, but the > temptation to use a command that's already written and known to work is > tempting... > and has already been created as a standalone binary with documented semantics: http://fossil.wanderinghorse.net/repos/libfossil/doxygen/fossil-core_8h.html#a265d03fe1e040d7068679f9b2a4d1a11 :) -- ----- 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 fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users