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

  • Committer: Martin Pool
  • Date: 2005-05-27 04:08:47 UTC
  • Revision ID: mbp@sourcefrog.net-20050527040847-adbd0b4b6d1d427c
- cleanup imports

Show diffs side-by-side

added added

removed removed

Lines of Context:
757
757
    
758
758
    def run(self, name_pattern):
759
759
        from bzrlib.atomicfile import AtomicFile
760
 
        import codecs, os.path
 
760
        import os.path
761
761
 
762
762
        b = Branch('.')
763
763
        ifn = b.abspath('.bzrignore')
771
771
        else:
772
772
            igns = ''
773
773
 
 
774
        # TODO: If the file already uses crlf-style termination, maybe
 
775
        # we should use that for the newly added lines?
 
776
 
774
777
        if igns and igns[-1] != '\n':
775
778
            igns += '\n'
776
779
        igns += name_pattern + '\n'