Re: [RFC PATCH 2/3] Add specification of git-vcs helpers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Barkalow
Date: Sunday, January 11, 2009 - 7:03 pm

On Sun, 11 Jan 2009, Junio C Hamano wrote:


Nope, I've just been referring to it in the original text, so I've been 
careless with markup.


Yeah, I haven't really nailed this one down; it's hard to get really right 
without having a bunch of different helpers which can do different amounts 
of stuff and need different git-side help.


I was unclear about what that one meant, I guess. It's supposed to handle 
systems where it's possible to create things that work like branches but 
are hard to find. If a helper doesn't report the capability, then the user 
may need to say, "I also want some/branch/location", or the helper 
wouldn't know that's a branch.

For example, in order to find all of the branches in Perforce, you have 
to figure out both directions of integration, in order to find branches 
that haven't been integrated back into the location you know about, and 
that's kind of expensive to determine and a bit tricky to parse.

It's not intended to indicate that the helper will tell you which ones are 
new or not, just that, if the helper doesn't have it, it will only tell 
you about branches that it's been told about.


If the helper supports "merge", it means that it is able to create a merge 
in the foreign vcs. You're right about needing to separately list an 
"octopus" capability, and maybe further refinements.


I think users should be able to create merges in git if they want to, but 
they'd have to linearize the history in order to push it back. Hopefully, 
at some point, we'll have a tool to help with this (which would be helpful 
for generating patch series, anyway).


Yeah, that's what I meant.

	-Daniel
*This .sig left intentionally blank*
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 2/3] Add specification of git-vcs helpers, Daniel Barkalow, (Sun Jan 11, 1:12 pm)
Re: [RFC PATCH 2/3] Add specification of git-vcs helpers, Junio C Hamano, (Sun Jan 11, 6:29 pm)
Re: [RFC PATCH 2/3] Add specification of git-vcs helpers, Daniel Barkalow, (Sun Jan 11, 7:03 pm)
Re: [RFC PATCH 2/3] Add specification of git-vcs helpers, Johannes Sixt, (Mon Jan 12, 1:13 am)
Re: [RFC PATCH 2/3] Add specification of git-vcs helpers, Daniel Barkalow, (Mon Jan 12, 10:46 am)