/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/builtins.py

  • Committer: Benjamin Peterson
  • Date: 2009-11-30 00:33:52 UTC
  • mto: This revision was merged to the branch mainline in revision 4841.
  • Revision ID: benjamin@python.org-20091130003352-lufmye1ua25d4y34
avoid getting extra slashes in the output when ls' argument ends with a slash

Show diffs side-by-side

added added

removed removed

Lines of Context:
2509
2509
        if from_root:
2510
2510
            if relpath:
2511
2511
                prefix = relpath + '/'
2512
 
        elif fs_path != '.':
 
2512
        elif fs_path != '.' and not fs_path.endswith('/'):
2513
2513
            prefix = fs_path + '/'
2514
2514
 
2515
2515
        if revision is not None or tree is None: