/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

(Gordon P. Hemsley) Add a trailing slash to directories for 'bzr ls'

Show diffs side-by-side

added added

removed removed

Lines of Context:
1977
1977
                        continue
1978
1978
                    if kind is not None and fkind != kind:
1979
1979
                        continue
 
1980
                    kindch = entry.kind_character()
 
1981
                    outstring = fp + kindch
1980
1982
                    if verbose:
1981
 
                        kindch = entry.kind_character()
1982
 
                        outstring = '%-8s %s%s' % (fc, fp, kindch)
 
1983
                        outstring = '%-8s %s' % (fc, outstring)
1983
1984
                        if show_ids and fid is not None:
1984
1985
                            outstring = "%-50s %s" % (outstring, fid)
1985
1986
                        self.outf.write(outstring + '\n')
1996
1997
                        else:
1997
1998
                            my_id = ''
1998
1999
                        if show_ids:
1999
 
                            self.outf.write('%-50s %s\n' % (fp, my_id))
 
2000
                            self.outf.write('%-50s %s\n' % (outstring, my_id))
2000
2001
                        else:
2001
 
                            self.outf.write(fp + '\n')
 
2002
                            self.outf.write(outstring + '\n')
2002
2003
        finally:
2003
2004
            tree.unlock()
2004
2005