Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Matthias Urlichs <matthias@urlichs.de>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: brobecker@adacore.com, gdb@sourceware.org, binutils@sources.redhat.com
Subject: Re: time to be serious about dropping CVS
Date: Fri, 01 Jan 2010 16:06:00 -0000	[thread overview]
Message-ID: <1262361940.2587.2525.camel@kiste> (raw)
In-Reply-To: <201001011025.o01APi7b017223@glazunov.sibelius.xs4all.nl>

On Fri, 2010-01-01 at 11:25 +0100, Mark Kettenis wrote:
> There's no equivalent of a quick "cvs update" of a checked out
> tree that contains modifications. 

That's a bad habit from CVS/SVN usage which you should train yourself
out of. It's the cause of many a "my half-tested changes don't work at
all after the cvs update, how the hell do I figure out what went wrong"
trap I've fallen into before switching to git. No longer: a script which
runs a git_bisect/apply_my_change/test/repeat-until-culprit-is-found
is so cheap that I write it from scratch every time I need it.

This, by the way, is just one command where git _really_ shines.
Consider: You just updated from GCC 4.3 to 4.4. One of your tests shows
a regression. You want to figure out which of the 4527 patches and/or
293 merges which went into 4.4 caused it, so as to fix the regression
and/or render a qualified bug report and/or figure out how to circumvent
the problem. With "git bisect", this requires less than 15 compile/test
cycles (ceil(log2(4527+293))) and can be fully automated. 

(Yes, the numbers of patches and merges are made up.)

> And I can't get myself to commit half-finished or half-tested changes
> to a local repo.

Somebody else already mentioned "git stash". Writing a small script
which does a stash/merge/stash_pop, or a commit/merge/rebase, is
trivial. Problem solved.


SVN is _not_ acceptable for anybody who ever tried to do nontrivial work
when disconnected, e.g. on an airplane. Among other problems.

Please select a distributed VCS. SVN is not.


  parent reply	other threads:[~2010-01-01 16:06 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-01  8:02 Joel Brobecker
2010-01-01  8:35 ` Eli Zaretskii
2010-01-01  9:00   ` Joel Brobecker
2010-01-01 10:34     ` Eli Zaretskii
2010-01-01 15:39   ` Matthias Urlichs
2010-01-01 15:49     ` Eli Zaretskii
2010-01-01 10:26 ` Mark Kettenis
2010-01-01 10:46   ` Andreas Schwab
2010-01-01 11:03   ` Joel Brobecker
2010-01-01 16:06   ` Matthias Urlichs [this message]
2010-01-01 17:57     ` H.J. Lu
2010-01-01 13:00 ` Joseph S. Myers
2010-01-01 14:18   ` Joel Brobecker
2010-01-02 18:11     ` Christopher Faylor
2010-01-02 19:08       ` Christopher Faylor
2010-01-03 13:52       ` Matthias Urlichs
2010-01-08 12:58 ` Phil Muldoon
2010-01-08 13:08   ` Tristan Gingold
2010-01-08 13:20     ` Joel Brobecker
2010-01-08 13:26       ` Tristan Gingold
2010-01-08 13:13   ` Joel Brobecker
2010-01-08 13:21     ` Jonas Maebe
2010-01-08 13:34     ` Andreas Schwab
2010-01-08 13:14   ` Jonas Maebe
2010-01-08 18:41   ` Michael Snyder
2010-01-08 18:49     ` Paul Koning
2010-12-20 17:35 ` Joseph S. Myers
2010-12-21  3:27   ` Joel Brobecker
2010-12-21  3:46     ` Jim Blandy
2010-12-21  7:16     ` Pascal Obry
2010-12-21 15:14       ` Tom Tromey
2010-12-21 16:15         ` Christopher Faylor
2010-12-21 18:39           ` Joseph S. Myers
2010-12-21 19:26             ` Tom Tromey
2010-12-21 18:42     ` Joseph S. Myers
2010-12-21 19:21     ` DJ Delorie
2010-12-22 15:23       ` Christopher Faylor
2010-12-22 15:29         ` NightStrike
2010-12-22 16:48           ` Joseph S. Myers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1262361940.2587.2525.camel@kiste \
    --to=matthias@urlichs.de \
    --cc=binutils@sources.redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox