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: RFC: CVS sync design: msg#00253

Subject: Re: RFC: CVS sync design
On Fri, Dec 24, 2004 at 12:44:12AM -0800, Nathaniel Smith wrote:
> here's my version of push:
>   - find the latest revision that corresponds to a cvs-manifest
>   - check to see whether that cvs-manifest is the tip of the branch we
>     wish to sync with; if not, error out, telling the user to perform
>     a pull and do some merging
>   - now pick a child of that revision, commit it to the CVS server,
>     and recurse

Actually, let me throw another thought out here to:  Is it really
useful to commit whole chains of history to CVS?  It would be
significantly simpler from our point of view to just take a single
revision, double-check that it's a descendent of the last sync'ed
revision, and then just commit that snapshot to the CVS repo,
completely ignoring intermediate versions.

The Monotone revision graph is going to be a superset of the stuff in
CVS anyway, so I don't feel too bad about collapsing some edges.

Also, this is much simpler to implement, completely sidestepping like the
last 3 paragraphs of my last email.  (Also some things I didn't
mention... like what do we do with discontinuous branches?  I.e.,
branches that have 'gaps', like A -> B -> C where A and C are in some
branch but B isn't... should B be pushed to the CVS server?)

Also, it might actually be required for some cases.  E.g., a typical
use case for CVS-synching functionality might be that if I'm working
on a project whose upstream uses CVS, then I want to use Monotone
locally to work out my changes, and then when I'm done push them to
the CVS repo.  But Monotone and CVS have very different criteria for
when a change should be committed; in Monotone it's perfectly common
to commit a change just locally, as a checkpoint while working.  In
CVS, though, commits always affect everyone globally, so you have many
projects where the policy is that if you commit a broken revision, you
are a Bad Bad Person.  Even if you then immediately commit a fixed
revision.  So I will be violating upstream policy if I simply push my
full Monotone graph into CVS!

-- Nathaniel

-- 
"...these, like all words, have single, decontextualized meanings: everyone
knows what each of these words means, everyone knows what constitutes an
instance of each of their referents.  Language is fixed.  Meaning is
certain.  Santa Claus comes down the chimney at midnight on December 24."
  -- The Language War, Robin Lakoff


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:
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