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

[PATCH][svnmerge] Fix reporting message for 'avail --blocked'

From: Madan U Sreenivasan <madan_at_collab.net>
Date: 2006-04-17 21:24:50 CEST

[[[
Fix verbose message for `avail --blocked'.

* contrib/client-side/svnmerge.py
   (action_avail): Modified to use a different report() message, when
   `svnmerge avail' is invoked with the `--blocked' option.
]]]

Index: contrib/client-side/svnmerge.py
===================================================================
--- contrib/client-side/svnmerge.py (revision 19394)
+++ contrib/client-side/svnmerge.py (working copy)
@@ -980,17 +980,20 @@
 
     # Compose the set of revisions to show
     revs = RevisionSet("")
+ report_msg = ""
     if "avail" in opts["avail-showwhat"]:
         revs |= avail_revs
+ report_msg = "revisions available to be merged are:"
     if "blocked" in opts["avail-showwhat"]:
         revs |= blocked_revs
+ report_msg = "revisions blocked are:"
 
     # Limit to revisions specified by -r (if any)
     if opts["revision"]:
         revs = revs & RevisionSet(opts["revision"])
 
     display_revisions(revs, opts["avail-display"],
- "revisions available to be merged are:",
+ report_msg,
                       opts["head-url"])
 
 def action_integrated(branch_dir, branch_props):

Fix verbose message for `avail --blocked'.

* contrib/client-side/svnmerge.py
  (action_avail): Modified to use a different report() message, when
  `svnmerge avail' is invoked with the `--blocked' option.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 17 20:54:17 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.