Cope with change entries that are \r terminated
Nicholas Clark [Sun, 8 Jan 2006 22:43:15 +0000 (22:43 +0000)]
p4raw-id: //depot/perl@26747

Porting/genlog

index 98bccdd..9926b37 100755 (executable)
@@ -69,6 +69,7 @@ if ($?) {
     die "$0: `p4 -p $p4port describe -s @changes` failed, status[$?]\n";
 }
 else {
+    tr/\r/\n/ foreach @desc;
     chomp @desc;
     while (@desc) {
        my ($change,$who,$date,$time,@log,$branch,$file,$type,%files);