/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: Martin Pool
  • Date: 2009-12-09 05:47:32 UTC
  • mfrom: (4879 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4880.
  • Revision ID: mbp@sourcefrog.net-20091209054732-7414e9uma23mfv6x
trivial merge of trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
182
182
        return (defaultx, defaulty)
183
183
 
184
184
    # To avoid problem with redirecting output via pipe
185
 
    # need to use stderr instead of stdout
 
185
    # we need to use stderr instead of stdout
186
186
    h = ctypes.windll.kernel32.GetStdHandle(WIN32_STDERR_HANDLE)
187
187
    csbi = ctypes.create_string_buffer(22)
188
188
    res = ctypes.windll.kernel32.GetConsoleScreenBufferInfo(h, csbi)
631
631
    args = []
632
632
    for is_quoted, arg in s:
633
633
        if is_quoted or not glob.has_magic(arg):
634
 
            args.append(arg.replace(u'\\', u'/'))
 
634
            args.append(arg)
635
635
        else:
636
636
            args.extend(glob_one(arg))
637
637
    return args