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: Marginal features: msg#00020

version-control.revctrl

Subject: Re: Marginal features

On Sat, May 07, 2005 at 11:29:41PM +0100, Ganesh Sittampalam wrote:
> On Sat, 7 May 2005, David Roundy wrote:
>
> > > [renaming the root]
> >
> > I've thought about this (and even talked about it), but it never seemed
> > like it would be worth implementing. Darcs always stores filenames with a
> > preceding ./ partly so we could perhaps later "rename" the root to be
> > something like subproject/, but I never could convince myself that this
> > would actually be useful.
>
> How else would you build a repo that merges two subrepos and can still
> pull new patches from each easily?

If each of the repos had all of their contents stored within a
subdirectory, you could do this without a special feature. In other words,
if you plan ahead, you don't need a special "root directory" feature,
although you have to deal with the fact that in each of the individual
repos everything's in a subdirectory.

So this is mostly a feature for people/groups who don't plan on merging
repositories, and then decide later that it would be a good idea. I've
never run across this scenario, and am not sure how common it would be, or
whether it would ever actually be a good idea.

> > > [convergence - merging identical patches]
> >
> > This is a common complaint about darcs, and is a tough problem. I
> > think the best solution is to *not* treat the patches as having
> > identical identities, but in the conflict resolution to recognize what
> > the user has tried to do and suggest a default "trivial" resolution.
> > I'd like to have a distinction in a future darcs between "unresolved
> > conflicts" and "resolved conflicts". The latter would be actual
> > conflicts, but ones for which darcs was able to suggest a reasonable
> > resolution. Thus "identical" patches would fall into the latter
> > category. It'd still be a conflict and would require a resolution
> > patch, but the user would get a nice message like "We were able to
> > resolve 5 conflicts in foo.cpp, please record if this is satisfactory."
>
> If we had two independent repos A and B that converged on the same tree
> into C, and then there were future patches in say A, could they be pulled
> into C without causing further conflicts?

There would be future conflicts if repos A and B refuse to pull the
conflict resolution patch. But I'm not sure why they'd do that, and if you
have developers that don't communicate, you've got more serious conflicts
than those that show up in repository C.
--
David Roundy
http://www.darcs.net


<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