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

[PATCH] "Try 'svn revert --recursive' instead?" shouldn't be triggered if the user tried that

From: David Glasser <glasser_at_mit.edu>
Date: 2006-06-29 03:29:29 CEST

The "Try 'svn revert --recursive' instead?" message in svn_cl__revert
can be triggered even if you're already typing that command. (For a
recipe that reveals this, see the comment I just made on Issue 2466.)
That's kind of rude. This patch fixes that.

[[[
Don't suggest "svn revert --recursive" if we're already doing that.

* subversion/svn/revert-command.c
  (svn_cl__revert): Check opt_state->recursive before advising to use it.
]]]

-- 
David Glasser | glasser@mit.edu


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Jun 29 21:29:42 2006

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.