Changeset 759


Ignore:
Timestamp:
Dec 11, 2012, 4:49:07 PM (12 years ago)
Author:
pfusik
Message:

new.m3u: corrected.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/asma/Docs/Asma.txt

    r751 r759  
    1818
    1919                           Started on August 4, 1999
    20                        Last updated on December 6, 2012
     20                       Last updated on December ??, 2012
    2121
    22                     Total number of songs: 4612 (300 new)
     22                     Total number of songs: 4612 (297 new)
    2323
    2424
  • trunk/asma/new.m3u

    r753 r759  
    2525Composers/Chamberlain_Craig/Two_Part_Invention_no_13.sap
    2626Composers/Claas_Clever/Speed_Matter_Ingame.sap
     27Composers/Daglish_Ben/Footballer_of_the_Year.sap
    2728Composers/Delooze_Chris/Death_Races.sap
    2829Composers/Delooze_Chris/Freaky_Factory.sap
    2930Composers/Delooze_Chris/War_Copter.sap
    30 Composers/Daglish_Ben/Footballer_of_the_Year.sap
    3131Composers/Duma_Dariusz/Disco_Beat.sap
    3232Composers/Duma_Dariusz/Out_of_Prison.sap
     
    103103Composers/Lis_Piotr/I_Love_You_True_Story.sap
    104104Composers/Luberda_Michal/Attention.sap
    105 Composers/Luberda_Michal/Hear_Me.sap
    106105Composers/Luberda_Michal/In_Space.sap
    107106Composers/Luberda_Michal/Moon.sap
     
    279278Unknown/March.sap
    280279Unknown/Musbox.sap
     280Unknown/Music_2000_Menu.sap
    281281Unknown/No_Limit.sap
    282282Unknown/ORileys_Mine.sap
     
    289289Unknown/Rumad.sap
    290290Unknown/Sing_Hosanna.sap
    291 Unknown/Somebody.sap
    292291Unknown/Sorella.sap
    293292Unknown/Spaceship_Demo.sap
    294293Unknown/Streets_of_London.sap
    295294Unknown/Sweeney.sap
    296 Unknown/Tblues.sap
    297295Unknown/Telemann.sap
    298296Unknown/The_Holly_and_The_Ivy.sap
    299 Unknown/Walzer.sap
    300297Unknown/Young_Ones.sap
  • trunk/tools/svn2new.pl

    r756 r759  
    22my @i = `svn log -qv -r $r:HEAD ../asma`;
    33my (%a, %d);
     4my @d;
    45for (@i) {
    5         if (m{^   A /trunk/asma/(\S+\.sap)(?: \(from /trunk/asma/(\S+\.sap)\))?}) {
     6        if (m{^   A /trunk/asma/(\S+\.sap)(?: \(from /trunk/asma/(\S+\.sap):\d+\))?}) {
    67                $a{$1} = 1, delete $d{$1} if !$2 || delete $a{$2};
    78        }
    8         elsif (m{^   D /trunk/asma/(\S+\.sap)}) {
    9                 $d{$1} = 1;
    10                 delete $a{$1};
     9        elsif (m{^   D /trunk/asma/(\S+)}) {
     10                # postpone deletes after adds, so that copy+delete in one commit works
     11                push @d, $1;
     12        }
     13        elsif (m{^---}) {
     14                for (@d) {
     15                        $d{$_} = 1;
     16                        if (/\.sap$/) {
     17                                delete $a{$_};
     18                        }
     19                        else {
     20                                my $dir = $_;
     21                                delete @a{grep m{^$dir/}, keys %a};
     22                        }
     23                }
     24                @d = ();
    1125        }
    1226}
     
    1529open F, ">deleted.txt" or die;
    1630print F "$_\n" for sort keys %d;
    17 printf "New: %d Deleted: %d\n", scalar %a, scalar %d;
     31printf "New: %d Deleted: %d\n", scalar(keys %a), scalar(keys %d);
Note: See TracChangeset for help on using the changeset viewer.