Please take our Survey
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: Updating my patches: msg#00004

version-control.revml

Subject: Re: Updating my patches

On Tue, Sep 07, 2004 at 07:33:46PM -0400, Barrie Slaymaker wrote:
> > --- Makefile.PL (/vendor) (revision 1048)
> > +++ Makefile.PL (/local) (revision 1048)
> > + 'Text::Table' => 0,
>
> Text::Table is developer-only, like BFD, so I don't hard require it.
> Perhaps I should have a DEVELOPER=1 parameter to Makefile.PL

Yes, but the problem is perl Makefile.PL; make is not happy without
them installed, when building the help or something else.

> > --- lib/VCP/Filter/changesets.pm (/vendor) (revision 1048)
> > +++ lib/VCP/Filter/changesets.pm (/local) (revision 1048)
> > - unpack "w*", $changes->[$change_index]
> > - if $changes->[$change_index];
> > + unpack "w*",
> > + exists $changes->[$change_index] ?
> > $changes->[$change_index] : '';
>
> How about this:
>
> my @future_indexes =
> exists $changes->[$change_index]
> ? grep $_ != $r_index,
> unpack "w*", $changes->[$change_index]
> : ();

Looks logically identical and cleaner.

> > --- lib/VCP/Utils/p4.pm (/vendor) (revision 1048)
> > +++ lib/VCP/Utils/p4.pm (/local) (revision 1048)
> > @@ -830,7 +830,7 @@ sub p4_set_client_spec {
> > $self->p4( [ "client", "-i" ], \$client_spec, \my $out ) ;
> >
> > die "unexpected stdout from p4:\np4: ", $out
> > - unless $out =~ /^Client\s.*\ssaved\./ ;
> > + unless $out =~ /^Client\s.*\s(saved|.*not changed)\./ ;
>
> When does this occur, --continue? I'm wondering if we should try to
> avoid changing the client spec in whatever case causes this. And I'd
> like to build a test case for it, if you can tell me how.

It happen's in SVN::Mirror's test suite, when a single test tries to
mirror from a running p4d twice, unlike the vcp test suites the server
and p4root are cleaned. The client spec for the 2 sync are generated
from the two pid and thus identical and exist on the server, since vcp
only removes the client spec at END or some very late cleanup IIRC.

This will not only happen in the test suite, but also in svk pperl
mode, as the actual process trying to invoke vcp is the same process
that never ends.

> > -lib/VCP/Filter/logmemsize.pm
>
> That's now in the repository. Odd, though, neither logmemsize.pm nor
> swapnfs.c,v were in my local MANIFEST. What gives?

Looking at the p4web they are indeed there. Maybe you had some
overlay of p4 client spec?

Cheers,
CLK

Attachment: pgpFdjNeGJ8c4.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | 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

Navigation