Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68686

Re: Question about Source Control

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: Question about Source Control
Date 2014-03-21 08:23 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-B841BA.08233121032014@news.panix.com> (permalink)
References <lggjcc$or$1@ger.gmane.org> <mailman.8348.1395381664.18130.python-list@python.org>

Show all headers | View raw


In article <mailman.8348.1395381664.18130.python-list@python.org>,
 Cameron Simpson <cs@zip.com.au> wrote:

>   hg blame bin/set-x
> 
> and the output goes:
> 
>     [hg/css]fleet*> hg blame bin/set-x
>      2186: #!/bin/sh
>     11359: #
>     11359: # Trace execution of a command.

There's two things hg blame doesn't do which would be useful.

First, the trivial one.  I don't want lines annotated by change number, 
I want them annotated by the name of the person who checked it in.  But, 
I'm sure that can be easily fixed with some simple post-processing 
filter, so it really falls into the bucket of "minor annoyances".

The hard thing is I don't really want to know which change most recently 
touched the line of text.  I want to know who really wrote it.  It would 
be wonderful if hg were smart enough to be able to back-track through 
the change history and ignore trivial changes like whitespace, 
refactoring a function out of one file into another, etc.  That's the 
real meat and potatoes of "blame".  I want to know who I need to hit 
over the head with a clue-by-four once I fix a bug.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Question about Source Control Cameron Simpson <cs@zip.com.au> - 2014-03-21 17:00 +1100
  Re: Question about Source Control Roy Smith <roy@panix.com> - 2014-03-21 08:23 -0400
    Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-22 04:23 +1100
    Re: Question about Source Control Tim Chase <python.list@tim.thechases.com> - 2014-03-21 12:54 -0500
    Re: Question about Source Control Tim Chase <python.list@tim.thechases.com> - 2014-03-21 12:59 -0500
    Re: Question about Source Control Cameron Simpson <cs@zip.com.au> - 2014-03-22 08:32 +1100
    Re: Question about Source Control Chris Angelico <rosuav@gmail.com> - 2014-03-22 09:17 +1100

csiph-web