Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
webwml
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Debian Webmaster Team
webwml
Commits
4f0b0a12
Commit
4f0b0a12
authored
May 31, 2018
by
Steve McIntyre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ordering of count_changes() properly
parent
2c43b292
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Perl/Local/VCS_git.pm
Perl/Local/VCS_git.pm
+1
-1
stattrans.pl
stattrans.pl
+1
-1
No files found.
Perl/Local/VCS_git.pm
View file @
4f0b0a12
...
...
@@ -336,7 +336,7 @@ sub count_changes
print
"
ERROR: commit
$rev2
not found in revisions of
$file
\n
";
return
undef
;
}
return
$pos
2
-
$pos1
;
return
$pos
1
-
$pos2
;
}
# return the type of the input argument (file, dir, symlink, etc)
...
...
stattrans.pl
View file @
4f0b0a12
...
...
@@ -261,7 +261,7 @@ sub check_translation
# Here we compare the original version with the translated one and print
# a note for the user if their first or last numbers are too far apart
# From translation-check.wml
my
$version_diff
=
$VCS
->
count_changes
(
$orig_file
,
$
version
,
$translat
ion
);
my
$version_diff
=
$VCS
->
count_changes
(
$orig_file
,
$
translation
,
$vers
ion
);
if
(
!
defined
$version_diff
)
{
print
"
check_translation: error from count_changes for orig_file
$orig_file
, file
$file
\n
";
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment