~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Jason Spashett
  • Date: 2010-06-18 10:57:20 UTC
  • mto: This revision was merged to the branch mainline in revision 5315.
  • Revision ID: jason@spashett.com-20100618105720-xijod9h4riss3k11
Reverse merge -r 5280..5279

Show diffs side-by-side

added added

removed removed

Lines of Context:
1158
1158
    # For internal or testing use, argv can be passed.  Otherwise, get it from
1159
1159
    # the process arguments in a unicode-safe way.
1160
1160
    if argv is None:
1161
 
        return sys.argv[1:]
 
1161
        return osutils.get_unicode_argv()
1162
1162
    else:
1163
1163
        new_argv = []
1164
1164
        try: