/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: John Arbash Meinel
  • Date: 2005-12-01 19:42:25 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-20051201194225-ccbd5466df7af898
Creating a PathNotChild exception, and using relpath in HTTPTestUtil

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
                tail = pathjoin(os.path.basename(path), tail)
245
245
            else:
246
246
                tail = os.path.basename(path)
 
247
            lastpath = path
247
248
            path = os.path.dirname(path)
248
 
            # FIXME: top in windows is indicated how ???
249
 
            if path == os.path.sep:
 
249
            if lastpath == path:
250
250
                # reached the root, whatever that may be
251
251
                raise NotBranchError(path=path)
252
252