git-review script fails if locale is not in english

Bug #1274222 reported by Édouard Thuleau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-review
New
Undecided
Unassigned

Bug Description

git-review command parses output of external command and try to match some defined keywords (like Push').
Bu if hte local isn't define to the default English language, this keyword could fails.

In English:
$ LC_MESSAGES=en_US git remote show -n gerrit
* remote gerrit
  Fetch URL: ssh://<email address hidden>:29418/openstack/neutron.git
  Push URL: ssh://<email address hidden>:29418/openstack/neutron.git
  HEAD branch: (not queried)
  Remote branches: (status not queried)
    master
    stable/grizzly
    stable/havana
  Local ref configured for 'git push' (status not queried):
    (matching) pushes to (matching)

In French:
$ git remote show -n gerrit
* distante gerrit
  URL de rapatriement : ssh://<email address hidden>:29418/openstack/neutron.git
  URL push : ssh://<email address hidden>:29418/openstack/neutron.git
  Branche HEAD : (not queried)
  Branches distantes : (statut non demandé)
    master
    stable/grizzly
    stable/havana
  Référence locale configurée pour 'git push' (statut non demandé) :
    (correspond) pousse vers (correspond)

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.