~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revfile.py

  • Committer: Martin Pool
  • Date: 2005-08-11 18:09:13 UTC
  • Revision ID: mbp@sourcefrog.net-20050811180913-632087e28fb72eb1
- allow an irev or drev name to be given on the revfile tool command line
  rather than just the basename

Show diffs side-by-side

added added

removed removed

Lines of Context:
508
508
                         "       revfile last REVFILE\n")
509
509
        return 1
510
510
 
 
511
    if filename.endswith('.drev') or filename.endswith('.irev'):
 
512
        filename = filename[:-5]
 
513
 
511
514
    def rw():
512
515
        return Revfile(filename, 'w')
513
516