~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-04-28 10:31:44 UTC
  • Revision ID: mbp@sourcefrog.net-20050428103144-13ff414c640a491c
todo

Show diffs side-by-side

added added

removed removed

Lines of Context:
607
607
 
608
608
    b = Branch('.')
609
609
 
 
610
    # XXX: This will fail if it's a hardlink; should use an AtomicFile class.
610
611
    f = open(b.abspath('.bzrignore'), 'at')
611
612
    f.write(name_pattern + '\n')
612
613
    f.close()