~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/diff.py

  • Committer: Martin Pool
  • Date: 2006-04-20 01:29:04 UTC
  • mto: This revision was merged to the branch mainline in revision 1675.
  • Revision ID: mbp@sourcefrog.net-20060420012904-b3166df65e728801
Translate unknown sftp errors to PathError, no NoSuchFile

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
 
314
314
def _raise_if_doubly_unversioned(specific_files, old_tree, new_tree):
315
315
    """Complain if paths are not versioned in either tree."""
316
 
    if len(specific_files) == 0:
 
316
    if not specific_files:
317
317
        return
318
318
    old_unversioned = old_tree.filter_unversioned_files(specific_files)
319
319
    new_unversioned = new_tree.filter_unversioned_files(specific_files)