Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(599)

Side by Side Diff: debian.chrome/scripts/misc/retag

Issue 646032: Rename config to match naming convention. (Closed)
Patch Set: Send mail Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « debian.chrome/scripts/misc/kernelconfig ('k') | debian.chrome/scripts/misc/splitconfig.pl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/perl -w
2
3 open(TAGS, "git tag -l |") or die "Could not get list of tags";
4 @tags = <TAGS>;
5 close(TAGS);
6
7 open(LOGS, "git log --pretty=short |") or die "ERROR: Calling git log";
8 my $commit = "";
9
10 while (<LOGS>) {
11 my $origtag;
12
13 if (m|^commit (.*)$|) {
14 $commit = $1;
15 next;
16 }
17
18 m|\s*UBUNTU: (Ubuntu-2\.6\..*)| or next;
19
20 $tag = $1;
21
22 ($origtag) = grep(/^$tag.orig$/, @tags);
23
24 if (!defined($origtag)) {
25 print "I: Adding original tag for $tag\n";
26 system("git tag -m $tag $tag.orig $tag");
27 }
28
29 print "I: Tagging $tag => $commit\n";
30
31 system("git tag -f -m $tag $tag $commit");
32 }
33
34 close(LOGS);
OLDNEW
« no previous file with comments | « debian.chrome/scripts/misc/kernelconfig ('k') | debian.chrome/scripts/misc/splitconfig.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698