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

[PATCH] - svn blame doesn't use the working revision (Issue 1777)

From: S.Ramaswamy <ramaswamy_at_collab.net>
Date: 2004-04-16 12:24:20 CEST

Log Message:
Fix Issue #1777: 'svn blame' should default to the working revision,
when no revision is specified.

* subversion/clients/cmdline/blame-cmd.c
  (svn_cl__blame) : Set opt_state->end_revision.kind
     to svn_opt_revision_base,to ensure 'svn blame' defaults to base
     revision.

Index: subversion/clients/cmdline/blame-cmd.c
===================================================================
-- subversion/clients/cmdline/blame-cmd.c (revision 9374)
+++ subversion/clients/cmdline/blame-cmd.c (working copy)
@@ -108,7 +108,7 @@
           opt_state->start_revision.value.number = 1;
         }
       else
- opt_state->end_revision.kind = svn_opt_revision_head;
+ opt_state->end_revision.kind = svn_opt_revision_base;
     }

   if (opt_state->start_revision.kind == svn_opt_revision_unspecified)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 16 12:30:18 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.