Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^6: [OT] Best Use of Subversion Branches in Perl Development

by mugwumpjism (Hermit)
on Mar 18, 2007 at 11:39 UTC ( [id://605348]=note: print w/replies, xml ) Need Help??


in reply to Re^5: [OT] Best Use of Subversion Branches in Perl Development
in thread [OT] Best Use of Subversion Branches in Perl Development

You are not storing any indicator that a merge commit is a merge and not just a regular commit, let alone which of those other throw-away tags was the one merged in. How do you propose that any tool devised to annotate code based on history should work when faced with this system?

$h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";

Replies are listed 'Best First'.
Re^7: [OT] Best Use of Subversion Branches in Perl Development
by perrin (Chancellor) on Mar 18, 2007 at 14:47 UTC
    What annotation tools are you talking about? If I had ever seen one, I'd be more interested in using techniques that work with it.

    For human use, a simple "merging tag 2.001" commit message has been fine. Maybe you're thinking of a more complex situation than Jim or I have. In my case, we always merge the tag with the latest version, so looking up the last merge isn't necessary if the tags are sequential. The additional information of which revision number the merge was hasn't ever been needed.

      For instance, svn blame is one tool that comes with Subversion to do this - but of course since Subversion is so generally deficient it can't trace through merges.

      If you've done the sensible thing and converted the repository to git using git-svn, and successfully converted the merges, then git blame, the emacs git-blame.el, gitk visualisation of the history of the file, etc, can all be used and will correctly identify the change that introduced a line of code and not the one it was merged in with. No doubt the same thing applies to conversions to other suitable capable VCS such as Mercurial, bzr, etc.

      SVK and svnmerge have conventions for how they represent this information which does not suffer from the above problem. You could have easily picked from one of those, it would have been just as easy.

      $h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://605348]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-19 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found