[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Feature Request: svn update --accept failure

From: Marc Pawlowsky <marcpawl_at_gmail.com>
Date: Wed, 6 Mar 2019 22:08:26 -0500

Sometimes failure is an option.

I am working inside a complex scripting environment. It would be better if
when svn update detects a conflict that the update did not occur and that
the command would fail. The versioned versions of the file could still be
crated and maybe another one that would have the standard conflict markers,
but the original file should be unchanged versus copied into the .mine.

The exit code should be non-zero, so it is easy to detect.

This new behaviour would only occur with a new option to --accept, I like
"--accept failure".

Another addition that work with "--accept failure" is if svn update also
had --dry-run.

Thanks for your considering this feature.

   Marc Pawlowsky
Received on 2019-03-07 04:09:23 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.