Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Removed debug print. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
ed6f0f6f90ad0d0c185f0c919febba8a |
User & Date: | peter 2012-02-28 22:56:44.225 |
Context
2012-02-29
| ||
23:41 | Better emacs detection on WIndows. check-in: 5b26ac0815 user: peter tags: trunk | |
2012-02-28
| ||
22:56 | Removed debug print. check-in: ed6f0f6f90 user: peter tags: trunk | |
22:52 | Support negative revisions with Fossil. check-in: 74f1b312e9 user: peter tags: trunk | |
Changes
Changes to src/rev.tcl.
︙ | ︙ | |||
632 633 634 635 636 637 638 | if {[string index $lines end] eq "-"} { append lines $line } else { append lines \n$line } } } | | | | | | 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 | if {[string index $lines end] eq "-"} { append lines $line } else { append lines \n$line } } } #puts "Assuming branch '$branch'" #puts "Found [array size ancestors] ancestors in timeline" # Now get all commits on the file. If finfo had a tag filter, # this would be much easier. set x [exec fossil finfo -l -b $filename] set fAncestors {} foreach line [split $x \n] { if {[regexp {^(\w+)} $line -> artefact]} { if {[info exists ancestors($artefact)]} { lappend fAncestors $artefact } } } #puts "Found [llength $fAncestors] ancestors for file" #puts [join $fAncestors \n] return $fAncestors } # Figure out RCS revision from arguments proc eskil::rev::RCS::ParseRevs {filename revs} { if {$filename eq ""} { # RCS does not support tree versions |
︙ | ︙ |