Subject: | smerge dies with "Can't use an undefined value as filehandle reference at /usr/local/share/perl/5.10.0/SVK/Util.pm line 490." |
Hiya,
I've been bit by this two times now, so I know it's not a fluke. I'm
trying to:
svk smerge //mirror/foo/project/trunk .
where '.' is a checkout of a branch I created.
If I run the above with '-C' it executes with no problems. As soon as I
take it out, it processes most of the merge, but then dies with:
Can't use an undefined value as filehandle reference at
/usr/local/share/perl/5.10.0/SVK/Util.pm line 490."
This seems to be happening because of new directories in trunk. In
fact, it processes most of the files up to that new directory (and even
some files in it), and then dies. I've managed to work around the bug
by doing:
svk cp //mirror/foo/project/trunk/new_dir ./new_dir
svk ci
svk smerge //mirror/nap/xt_central/trunk/ .
And then the merge mysteriously works. I tried setting
SVKLOGLEVEL=debug but saw no useful output.
I've not tried recreating this on an empty repo (got deadlines :-/).
I'm using SVN v1.5.1 (r32289) client-side, server is 1.4, svk is:
svk -v
This is svk, version v2.2.1 (using Subversion bindings 1.5.1)
Running on ubuntu 8.10
hth,
-Steve