logo       


Re: CVS sync works (for me): msg#00253

Subject: Re: CVS sync works (for me)
Nathaniel Smith schrieb:
Okay, I think this is on the same track as what I meant.  What I was
trying to point out was that if you know just one change that happened
in a single commit -- like, dir/changed went from 1.4 to 1.5 -- then
that should be enough to identify that entire commit.  (After all,
dir/changed only goes 1.4 -> 1.5 once, ever.)  Basically by looking up
when that happened, noting the time/changelog/etc., and then using
that to assemble the other changes since then.

If I get you right, you propose to identify an edge by a single change
happening within it. That's indead possible.

But the process of history reconstruction is non-trivial (you need to
associate _some_ changes to different files to emulate atomicity in CVS)
and costly (you need to issue a log command for every file (even files
you don't yet know about) in the module).

So I am very glad to have all the information ready at hand before I
connect to the server. [I issue a module wide update (sending the last
known revision of every file) and then ask for the changelog and any
intermediate contents (by patches)] This nearly as bandwidth efficient
as it might get.

This should get the size down to a reasonable amount and is readable
enough to be able to verify by sight. [That's actually the reason I
refrained from reverse diffing (store the last cert in full length and
recode older ones as time-backwards-diffs)]. I have to read and process
all the certs anyway.


Hmm, that doesn't sound very scalable.  Why do you have to do that?

Actually it was done to make cvs checkout and cvs update symmetrical (to
make debugging and implementation easier). I reconstruct the same
information from the revision certs that I constructed from the cvs
server on my initial import.

On the other hand I don't know how to specify which cert to retrieve
(most of the time I need the latest cvs-manifest
(map<file,revision,keyword substitution>)), so I ask the database for
all "cvs-revision" certs. [this has the nice side-effect of enabling
update into a different branch]

  Christof

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Monotone-devel mailing list
Monotone-devel@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/monotone-devel
Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
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