PathNoChild "Path "//NUL" is not a child of path "..." error inside transform during pull

Bug #542708 reported by Uday Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

Using 2.1.0b2 on Windows XP, I got a PathNoChild error when trying to do a pull from Launchpad. I installed the latest 2.1.0 and tried it again. Now, Bazaar said there were no revisions to pull. However, the working tree has not been udpated. Trying to revert to the latest version gives a PathNoChild error again.

I am attaching an edited trace of a session.

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 843, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1038, in run_bzr
  File "bzrlib\commands.pyo", line 655, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 1018, in run
  File "bzrlib\decorators.pyo", line 194, in write_locked
  File "bzrlib\workingtree.pyo", line 1626, in pull
  File "bzrlib\merge.pyo", line 1529, in merge_inner
  File "bzrlib\merge.pyo", line 495, in do_merge
  File "bzrlib\merge.pyo", line 467, in _do_merge_to
  File "bzrlib\merge.pyo", line 608, in do_merge
  File "bzrlib\merge.pyo", line 664, in _compute_transform
  File "bzrlib\transform.pyo", line 2672, in resolve_conflicts
  File "bzrlib\transform.pyo", line 433, in find_conflicts
  File "bzrlib\transform.pyo", line 469, in _add_tree_children
  File "bzrlib\transform.pyo", line 1381, in iter_tree_children
  File "bzrlib\transform.pyo", line 241, in trans_id_tree_path
  File "bzrlib\transform.pyo", line 1317, in canonical_path
  File "bzrlib\workingtree.pyo", line 440, in relpath
  File "bzrlib\osutils.pyo", line 1094, in relpath
PathNotChild: Path "//NUL" is not a child of path "D:/gnu/vm/trunk"

Revision history for this message
Uday Reddy (reddyuday) wrote :
Revision history for this message
Martin Pool (mbp) wrote :

I wonder if this is because there is a file called 'nul' in the tree and it therefore can't be checked out on Windows?

description: updated
summary: - PathNoChild error occured in a pull
+ PathNoChild "Path "//NUL" is not a child of path "..." error inside
+ transform during pull
tags: added: treetransform win32
Revision history for this message
Martin Pool (mbp) wrote :

There doesn't seem to be such a file in the branch on Launchpad. Is there a file called NUL in your tree?

Changed in bzr:
status: New → Incomplete
Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Low
status: Incomplete → Confirmed
Revision history for this message
Uday Reddy (reddyuday) wrote : [Bug 542708] Re: PathNoChild "Path "//NUL" is not a child of path "..." error inside transform during pull

There is indeed a file called NUL in my working tree, of size 0. I
have no idea whence it came.

  crw-rw-rw- 1 udr root 0 03-18 00:56 NUL

Revision history for this message
Martin Pool (mbp) wrote :

Deleting that file should fix it.

This file is probably pretty difficult to deal with in Windows. If we can work out whether bzr is actually creating it, or just having trouble moving it once it exists, we might be able to fix this.

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.