Monotone workflow compared to Git workflow ( was RE: Git vs Monotone)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>, <sverre@...>
Cc: Git Mailinglist <git@...>
Date: Thursday, July 31, 2008 - 3:48 pm

> -----Original Message-----


I have a question about this.  I asked this awhile back and didn't
really get any satisfactory answers except to use git-new-workdir, which
makes git behave a lot like monotone.  In our workflow, we do create
branches for nearly everything, but we do find that we have a need to
keep the build artifacts of those branches isolated from each other
because rebuilding is expensive.  IOW, we have this sort of workflow:

git checkout A
[work on A, build, test, do some commits]
git checkout B
[work on B, build, test, do some commits]
git checkout A
[work on A, re-build, test, do some commits]

We find ourselves constantly having to shift gears and work on other
things in the middle of whatever it is we're currently working on.  For
instance, in the scenario above, A might be branch that contains a
feature going into our next release.  B might be a bugfix and takes
priority over A, so you have to leave A as-is and start work on B.  When
I come back to work on A, I have to rebuild A to continue working, and
that's just too expensive for us.  So we use the monotone-like
new-workdir which allows us to save those build artifacts.

So, that said, I ask again, am I missing something?  Is there a better
way to do this?  How do the kernel developers do this, surely they're
switching branches back and forth having to build in-between?


Cheers,
Craig
--
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:
Git vs Monotone, Sverre Rabbelier, (Thu Jul 31, 2:13 pm)
Re: Git vs Monotone, Sverre Rabbelier, (Fri Aug 1, 3:23 am)
Re: Git vs Monotone, Daniel Barkalow, (Fri Aug 1, 2:00 pm)
Re: Git vs Monotone, Theodore Tso, (Thu Jul 31, 3:24 pm)
Re: Git vs Monotone, Linus Torvalds, (Thu Jul 31, 3:17 pm)
Monotone workflow compared to Git workflow ( was RE: Git vs ..., Craig L. Ching, (Thu Jul 31, 3:48 pm)
RE: Git vs Monotone, Craig L. Ching, (Thu Jul 31, 3:28 pm)
RE: Git vs Monotone, Linus Torvalds, (Thu Jul 31, 3:52 pm)
RE: Git vs Monotone, Blum, Robert, (Thu Jul 31, 4:42 pm)
Re: Git vs Monotone, Robin Rosenberg, (Sun Aug 10, 6:15 pm)
Re: Git vs Monotone, Junio C Hamano, (Thu Jul 31, 4:24 pm)
Re: Git vs Monotone, Felipe Contreras, (Sat Aug 23, 3:23 pm)
Re: Git vs Monotone, Linus Torvalds, (Thu Jul 31, 4:30 pm)
Re: Git vs Monotone, Jeff King, (Thu Jul 31, 3:02 pm)
Re: Git vs Monotone, Sverre Rabbelier, (Thu Jul 31, 3:19 pm)
Re: Git vs Monotone, Jeff King, (Thu Jul 31, 4:32 pm)
RE: Git vs Monotone, Craig L. Ching, (Thu Jul 31, 3:11 pm)
Re: Git vs Monotone, Stephen R. van den Berg, (Thu Jul 31, 2:33 pm)
Re: Git vs Monotone, Petr Baudis, (Thu Jul 31, 2:52 pm)