~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-30 21:23:54 UTC
  • mfrom: (4832.1.1 slash-fix)
  • Revision ID: pqm@pqm.ubuntu.com-20091130212354-exss9hosbrdvo5tk
(Benjamin Peterson) avoid extra slashes in 'ls' output when arg ends
        in a slash

Show diffs side-by-side

added added

removed removed

Lines of Context:
2513
2513
        if from_root:
2514
2514
            if relpath:
2515
2515
                prefix = relpath + '/'
2516
 
        elif fs_path != '.':
 
2516
        elif fs_path != '.' and not fs_path.endswith('/'):
2517
2517
            prefix = fs_path + '/'
2518
2518
 
2519
2519
        if revision is not None or tree is None: