Changeset 16771
- Timestamp:
- 06/28/07 22:00:58 (17 months ago)
- Files:
-
- 1 modified
-
examples/network/svnbot.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
examples/network/svnbot.pl
r16655 r16771 7 7 my $interval = @*ARGS.shift // 300; 8 8 my $repository = @*ARGS.shift // "."; 9 my $svndiffurl = (@*ARGS[0] ~~ /http/) ?? @*ARGS.shift !! 0; 9 10 my $show_branch = (@*ARGS[0] eq "true") ?? @*ARGS.shift !! 0; 10 11 my $sep_header = (@*ARGS[0] eq "true") ?? @*ARGS.shift !! 0; … … 28 29 debug " sep_header... specifies whether a separate header line"; 29 30 debug " should be outputted (true|false)."; 31 debug " svndiffurl... specifies the base url for svn diff"; 32 debug " requests. revision# is appended."; 30 33 31 34 # Initialize $cur_svnrev. $cur_svnrev contains the last revision seen, and is … … 172 175 my $branch; 173 176 my $subst = "XXX-HACK-SVNBOT-SUBST-{rand}"; # XXX! 177 my $revnum; 174 178 175 179 for =$fh -> $_ { … … 207 211 } 208 212 } 213 $commits ~= "diff: $svndiffurl$cur_entry\n" if $svndiffurl; 209 214 210 215 return $commits;
