[SVN] r4545 (Subversion)

Chris Thomas chris at cjack.com
Fri Aug 4 20:53:27 UTC 2006


Subversion can tell you that a file/folder was copied from somewhere  
else. You may need the XML output to access it from the command line,  
though:

% svn log -v --xml
[...]
<logentry
    revision="267">
<author>chris</author>
<date>2005-12-19T19:51:45.790517Z</date>
<paths>
<path
    copyfrom-path="/soft/hotness/trunk"
    copyfrom-rev="266"
    action="A">/soft/hotness/branches/IntelBoolFixes</path>
</paths>
<msg>branch for 1-byte (Darwin Intel ABI) vs 4-byte (Darwin PPC ABI)  
boolean fixes</msg>
</logentry>
[...]

Chris

On Aug 4, 2006, at 11:54 AM, Benoit Gagnon wrote:

> I have an great idea to improve the log output in textmate. Basically
> I want it to draw a distinctive, colored marker in at the "copy" point
> in the log. Would print something like "copied from < x > at this
> point". If you run svn log --stop-on-copy on a branch, the log will
> stop at the branch creation time. Without that argument, the log will
> continue all the way down to the initial revision.
>
> My idea of an implementation is something like this: do a svn log
> --stop-on-copy, save the number of the last revision outputted, then
> do another svn log starting there. Oh, and we could make it recursive.
> Say you branch from another branch, you'd get two markers in the log.
>
> So yeah, maybe I should wait until you clean it up a bit ?
>
> On 8/3/06, Torsten Becker <torsten.becker at gmail.com> wrote:
>> * now uses --limit from svn (a new feature i missed) to get less  
>> messages from the server (it TM_SVN_LOG_LIMIT ist set)
>> * default limit is now 15
>> * minor cleanups in the log parser (i am thinking about cleaning  
>> some stuff up even more :>)
>> * when the log parser now gets a bad line it also tells in what  
>> state it happened
>>
>> Changed:
>> U   trunk/Bundles/Subversion.tmbundle/Commands/Log.plist
>> U   trunk/Bundles/Subversion.tmbundle/Support/README.html
>> U   trunk/Bundles/Subversion.tmbundle/Support/format_log.rb
>> U   trunk/Bundles/Subversion.tmbundle/Support/svn_helper.rb
>>
>> _______________________________________________
>> textmate-dev mailing list
>> textmate-dev at lists.macromates.com
>> http://lists.macromates.com/mailman/listinfo/textmate-dev
>>
>
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev
>

--
The way I feel about Lisp is the way I feel about socialism. Neat  
ideals and I really wish they worked on humans!
- why the lucky stiff, http://redhanded.hobix.com/cult/twoThings.html





More information about the textmate-dev mailing list