[Trac] Suggestion: add (Copied from xxx:ryyy) to changeset display

Frazier, Stephen frazier at ugs.com
Wed Jun 22 14:10:06 CDT 2005


The trunk has implemented this. You can actually see it on the edgewall
site. Here are a few examples:

http://projects.edgewall.com/trac/changeset/1808
http://projects.edgewall.com/trac/changeset/1818

The timeline can display a limited version of this if configured to do
so.

-----Original Message-----
From: trac-bounces at lists.edgewall.com
[mailto:trac-bounces at lists.edgewall.com] On Behalf Of Gary Oberbrunner
Sent: Wednesday, June 22, 2005 3:02 PM
To: trac at lists.edgewall.com
Subject: [Trac] Suggestion: add (Copied from xxx:ryyy) to changeset
display

Hi, trac folks.

I don't know much about the Python interface to Subversion, but when I
make a 
tag by copying like this:

   svn cp $SVN/branches/shake_104_branch $SVN/tags/rel_shake_106

then I can see this nice stuff in the xml svn log showing me where it
was 
copied from:

% svn log --xml -v --stop-on-copy $SVN/tags/rel_shake_106
<?xml version="1.0" encoding="utf-8"?>
<log>
<logentry
    revision="9653">
<author>garyo</author>
<date>2005-06-15T17:36:10.453579Z</date>
<paths>
<path
    copyfrom-path="/branches/shake_104_branch"
    copyfrom-rev="9652"
    action="A">/tags/rel_shake_106</path>
</paths>
<msg>Tagging from shake_104_branch for release 1.06</msg>
</logentry>
</log>
%

If the same info is available via the Python interface, it'd be really
nice if 
trac would show me, either on the changeset display page or preferably
in the 
timeline, a notation like this:
   [9653]: tags/rel_shake_106 (Copied from
/branches/shake_104_branch:[9652])
and stop there.  Currently I get pages of output, showing each file in
my 
whole world as "Added" and no indication of where it was copied from.  I
think 
if an action for a dir is "A" and the copyfrom-path and copyfrom-rev
exist, 
trac should just note that and not list each file in the dir.

Does this make sense?

-- Gary Oberbrunner
_______________________________________________
Trac mailing list
Trac at lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac




More information about the Trac mailing list