octave-maintainers
[Top][All Lists]
Advanced

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

Re: trouble compiling


From: Daniel J Sebald
Subject: Re: trouble compiling
Date: Fri, 18 May 2012 13:53:03 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 05/18/2012 01:06 PM, Jordi Gutiérrez Hermoso wrote:
On 17 May 2012 23:41, Luca Citi<address@hidden>  wrote:
then, if you have already messed up your clone of the octave repository:
$ make clean
$ hg st -un0 | xargs -0 rm

Guys, please be careful recommending commands like this without
commentary. The last command will erase anything in your hg repository
that isn't tracked by hg, and is in fact a reimplementation of the
dangerous purge extension:

     http://mercurial.selenic.com/wiki/PurgeExtension

I like hg's general ethos to be very conservative about dangerous
commands, so I'd like to follow this in Octave. I don't want anyone
losing data accidentally due to blindly following bad advice. Data is
sacred. Be careful.

Furthermore, I recommend you keep separate build and source
directories. There should be no need to purge the hg repo if you do
this.

- Jordi G. H.


I didn't look closely. Yes, that's not a very good idea. One thing I don't like about the default build that has object code mixed in with source code is that "hg status" gives a big list of files when it is only a few I'm interested in. Maybe as I use hg more I'll figure out nice ways of leaving out object files.

Dan


reply via email to

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