~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-01 17:53:57 UTC
  • mto: (1185.50.19 bzr-jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1532.
  • Revision ID: john@arbash-meinel.com-20051201175357-afaa3b6ded6cb81c
Couple small fixes, all tests pass on cygwin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
992
992
        """
993
993
        # get all names, skipping root
994
994
        p = [self._byid[fid].name for fid in self.get_idpath(file_id)[1:]]
995
 
        return pathjoin(*p)
 
995
        if p:
 
996
            return pathjoin(*p)
 
997
        else:
 
998
            return ''
996
999
            
997
1000
 
998
1001