logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Review log message when push'ing to mirror: msg#00029

Subject: Re: Review log message when push'ing to mirror
Ruslan Zakirov wrote:
As far as I understand 'svk sm -l //src //dst' is exactly what you
want. It merges everything at once and opens an editor for you to edit
merged log message. For those who don't want to edit log there is
option -m in smerge command that allow them to replace log with a
message or add heading to merged log. So we have four variants at
least:
'svk sm -l //src //dst' - merged log, opens editor
'svk sm -m 'xxx' //src //dst' - replace log with a message, no editor
'svk sm -l -m 'xxx' //src //dst' - add a message before log, no editor
'svk sm -l -m '' //src //dst' - just merge logs without an editor
And the last variant is what's 'svk push --lump' does.

Ah, so it does! That isn't well documented, then. So I can revise my patch to the much simpler:

=== lib/SVK/Command/Push.pm
==================================================================
--- lib/SVK/Command/Push.pm     (revision 2544)
+++ lib/SVK/Command/Push.pm     (local)
@@ -63,6 +63,7 @@
      'S|sign'          => 'sign',
      'P|patch=s'        => 'patch',
      'verbatim'                => 'verbatim',
+     'review-message'   => 'review_message'
     );
 }

@@ -83,6 +84,11 @@
         $self->{message} = '';
         delete $self->{incremental};
     }
+    elsif ( $self->{review_message} ) {
+       $self->{lump} = 1;
+       $self->{log}++;
+       delete $self->{incremental};
+    }
     else {
         $self->{incremental}++;
     }

Since it still much nicer for the user not to have to remember the two URL's involved...

John
_______________________________________________
svk-devel mailing list
svk-devel@xxxxxxxxxxxxxxxxx
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-devel



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe