How to test for a no-op commit.
From: Arild Fines <arild.fines_at_broadpark.no>
Date: 2004-07-31 04:48:22 CEST
According to the docstring for svn_client_commit, you should test for
* If no error is returned and @a (*commit_info)->revision is set to
However, the Subversion client itself does not seem to do that, instead
if (commit_info && ! opt_state->quiet)
(http://svn.collab.net/repos/svn/trunk/subversion/clients/cmdline/commit-cmd
The reason I'm asking is that I am seeing commit_info being non-null and
In any case, the doc string seems to be wrong.
-- Arild AnkhSVN: http://ankhsvn.tigris.org Blog: http://ankhsvn.com/blog IRC: irc://irc.freenode.net/ankhsvn "Weaseling out of things is good. It's what separates us from the other animals....except weasels." -- Homer Simpson --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Jul 31 04:48:38 2004 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.