Skip to content

Commit 63b02f9

Browse files
André L F S Baccijordikroon
authored andcommitted
Reserve space for revision on original files
1 parent 458f944 commit 63b02f9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/dtdent-split.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@
8383
foreach( $entities as $name => $text )
8484
{
8585
$file = "$outdir/$name.xml";
86-
$header = "";
8786

88-
if ( $hash != "" )
87+
if ( $hash == "" )
88+
$header = '<!-- $Revision$ -->';
89+
else
8990
$header .= "<!-- EN-Revision: $hash Maintainer: $user Status: ready --><!-- CREDITS: $user -->\n";
9091

9192
file_put_contents( $file , $header . $text );

0 commit comments

Comments
 (0)