You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/12/27 15:12:45 UTC

svn commit: r1053072 - /subversion/trunk/tools/po/l10n-report.py

Author: hwright
Date: Mon Dec 27 14:12:44 2010
New Revision: 1053072

URL: http://svn.apache.org/viewvc?rev=1053072&view=rev
Log:
* tools/po/l10n-report.py
  (main): Update the l10n-report tool to parse the correct info output
    (and report in peg revision syntax).

Modified:
    subversion/trunk/tools/po/l10n-report.py

Modified: subversion/trunk/tools/po/l10n-report.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/po/l10n-report.py?rev=1053072&r1=1053071&r2=1053072&view=diff
==============================================================================
--- subversion/trunk/tools/po/l10n-report.py (original)
+++ subversion/trunk/tools/po/l10n-report.py Mon Dec 27 14:12:44 2010
@@ -148,7 +148,7 @@ def main():
         sys.exit(0)
 
     po_dir = 'subversion/po'
-    branch_name = l10n.match('URL:.*/svn/(\S+)', info_out)
+    branch_name = l10n.match('URL:.*/asf/subversion/(\S+)', info_out)
     [info_out, info_err] = l10n.safe_command(['svnversion', po_dir])
     if info_err:
         sys.stderr.write("\nError: %s\n" % info_err)
@@ -156,7 +156,7 @@ def main():
         sys.exit(0)
 
     wc_version = re.sub('[MS]', '', info_out)
-    title = "Translation status report for %s r%s" % \
+    title = "Translation status report for %s@r%s" % \
                (branch_name, wc_version)
 
     os.chdir(po_dir)