Re: StGIT discards local commits on "stg pull"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yann Dirson
Date: Monday, February 12, 2007 - 1:26 pm

On Mon, Feb 12, 2007 at 09:31:28AM +0000, Catalin Marinas wrote:

No, I agree it's a bug.  Rebasing after a fetch should allow this
workflow to work as well.  If the parent branch is not a rewinding
one, we should ensure there is nothing lost.  And even for rewinding
branches, we should probably keep track of the existence of commits,
so we can warn and nothing gets lost without knowing.

That makes me think that in most cases, an "stg commit" is done to be
pushed to a remote repo, as symetric operation to "stg pull".
Probably we could add support for this sort of operation (similar to
"stg-cvs commit" from my script).



Right, having it per-branch would allow, eg. to declare something like
git-svn as the way to pull from a given branch, while using different
backends for other branches.



Right.  "rebase --undo" could help too.

best regards,
-- 
Yann.
-
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:
StGIT discards local commits on "stg pull", Pavel Roskin, (Mon Feb 12, 12:26 am)
Re: StGIT discards local commits on "stg pull", Catalin Marinas, (Mon Feb 12, 2:31 am)
Re: StGIT discards local commits on "stg pull", Yann Dirson, (Mon Feb 12, 1:26 pm)
Re: StGIT discards local commits on "stg pull", Catalin Marinas, (Tue Feb 13, 3:48 pm)
Re: StGIT discards local commits on "stg pull", Catalin Marinas, (Mon Feb 19, 4:07 pm)