~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-07-11 20:45:42 UTC
  • mfrom: (1846.1.2 bzr.mv)
  • Revision ID: pqm@pqm.ubuntu.com-20060711204542-8e872becb9b4caf9
(larstiq) fix 'bzr mv' with no args, cleanup mv tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
375
375
    encoding_type = 'replace'
376
376
 
377
377
    def run(self, names_list):
 
378
        if names_list is None:
 
379
            names_list = []
 
380
 
378
381
        if len(names_list) < 2:
379
382
            raise BzrCommandError("missing file argument")
380
383
        tree, rel_names = tree_files(names_list)