1
0
mirror of synced 2026-04-15 15:49:48 +00:00

Remove CVS revisions from --version output

This commit is contained in:
Axel Beckert
2012-11-14 00:02:54 +01:00
parent 80edc04573
commit a87b0d1b2c
10 changed files with 9 additions and 59 deletions

2
TODO
View File

@@ -6,8 +6,6 @@ See KNOWN_BUGS for real bugs.
Bugs to fix and features to add for 4.3
---------------------------------------
Fix --version output: It still parses CVS keywords.
Refactor TLS disabling. Seems to be happen twice, once in 20-setup-apt
and once in 10-disable-tls.

View File

@@ -1761,13 +1761,7 @@ sub parseCommandLineArguments
if ($VERSION)
{
my $REVISION = '$Revision: 1.192 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
$REVISION = $1;
}
logprint("xen-create-image release $RELEASE - CVS: $REVISION\n");
logprint("xen-create-image release $RELEASE\n");
exit 0;
}

View File

@@ -324,13 +324,7 @@ sub parseCommandLineArguments
if ($VERSION)
{
my $REVISION = '$Revision: 1.13 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
$REVISION = $1;
}
logprint("xen-create-nfs release $RELEASE - CVS: $REVISION\n");
logprint("xen-create-nfs release $RELEASE\n");
exit;
}
}

View File

@@ -364,14 +364,7 @@ sub parseCommandLineArguments
if ($VERSION)
{
my $REVISION = '$Revision: 1.41 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
$REVISION = $1;
}
print "xen-delete-image release $RELEASE - CVS: $REVISION\n";
print "xen-delete-image release $RELEASE\n";
exit;
}

View File

@@ -248,13 +248,7 @@ sub parseCommandLineArguments
if ($VERSION)
{
my $REVISION = '$Revision: 1.30 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
$REVISION = $1;
}
print "xen-list-images release $RELEASE - CVS: $REVISION\n";
print "xen-list-images release $RELEASE\n";
exit;
}
}

View File

@@ -463,13 +463,7 @@ sub parseCommandLineArguments
if ($VERSION)
{
my $REVISION = '$Revision: 1.29 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
$REVISION = $1;
}
print "xen-update-image release $RELEASE - CVS: $REVISION\n";
print "xen-update-image release $RELEASE\n";
exit;
}

View File

@@ -229,13 +229,7 @@ sub parseCommandLineArguments
if ($VERSION)
{
my $REVISION = '$Revision: 1.47 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
$REVISION = $1;
}
print "xt-create-xen-config release $RELEASE - CVS: $REVISION\n";
print "xt-create-xen-config release $RELEASE\n";
exit;
}
}

View File

@@ -159,13 +159,7 @@ sub parseCommandLineArguments
if ($VERSION)
{
my $REVISION = '$Revision: 1.33 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
$REVISION = $1;
}
print "xt-customize-image release $RELEASE - CVS: $REVISION\n";
print "xt-customize-image release $RELEASE\n";
exit;
}
}

View File

@@ -411,13 +411,7 @@ sub parseCommandLineArguments
if ($VERSION)
{
my $REVISION = '$Revision: 1.65 $';
if ( $REVISION =~ /1.([0-9.]+) / )
{
$REVISION = $1;
}
print "xt-install-image release $RELEASE - CVS: $REVISION\n";
print "xt-install-image release $RELEASE\n";
exit;
}
}

1
debian/changelog vendored
View File

@@ -9,6 +9,7 @@ xen-tools (4.3.1+dev-1) UNRELEASED; urgency=low
- Also recognize "M" and "G" instead of "MB" and "GB" as size unit for
--memory. (Closes: #691320) Document the recognized units.
- Default DomUs to use the noop scheduler (Closes: #693131)
- Remove CVS revisions from --version output
* Add debian/gbp.conf to be able to to build xen-tools with
git-buildpackage.
* Install (manually generated) upstream ChangeLog only if it