octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hgload problems


From: Muhali
Subject: Re: hgload problems
Date: Thu, 27 Mar 2014 10:34:51 -0700 (PDT)

Rik-4 wrote
>> if there is another file "foo.m" in the same directory you get the
>> mentioned
>> error (took me a while to find out). So I would consider this a bug
>> (related
>> to the 'Check file existence' part in hgload).
> The problem is that the code used exist() to check for files and exist
> searches for both the absolute file name and the file name + ".m".  I
> changed the code to use file_in_loadpath() in this changeset
> (http://hg.savannah.gnu.org/hgweb/octave/rev/70d9db29db6f) and this now
> works for me.

no. If the file in question is foo.ofig, simply do

touch foo
octave --eval 'hgload foo'

and you get the error. So, if there happens to be a file 'foo' lying around
and one does 'hgsave foo; hgload foo' it doesn't work.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Re-hgload-problems-tp4663353p4663356.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]