On Wed, Jul 9, 2008 at 2:10 PM, Ryan Krauss ryan...@gmail.com wrote:
OK, so sorry mercurial is taking me so long to grasp. I don't know what the problem is. It seems quite powerful. I have tried skimming their tutorials. I guess I need to set aside some time and work through their documentation in detail.
But I have successfully pushed changes onto my repo. I screwed up just a bit and didn't and the single quotes to the list of files the first time. So tha this:
hg ci -m script/config.py
also included a change in site_cfg_template.py in my changeset. I think I made the same change as Robert, so hopefully this won't make a big mess.
The only problem is that I pushed onto my repo before locally doing a roll back and then doing: hg ci -m 'script/config.py'
I then forced a push onto the repo and the repo kept the original changeset that included site_cfg_template.py and added a second one with what it calls 0 changes (it looks exacly like the first).
I promise to read through the mercurial docs before I ask any more mercurial related questions (and I really am interested in learning it).
You can simply purge delete the repo at freehg and start over.
Please ask mercurial quesitons, it's easy for us to answer. Robert will answer this one.
On to the actual content of my change: it might be more hassle than it is worth and Robert's change to the defaul of numpy_prefix probably makes it unnecessary, but I think I have successfully made config.py find the numpy dir that is actually loaded by python. The only way I could see it going wrong is if the user deliberately alters sys.path in their scripts. I don't really have much time invested in this, so it is no big deal if we decide it creates more problems than it solves. It does give us the option of allowing a truly general numpy/core/include location though (i.e. it doesn't have to be of the form /*/usr/$ARCHLIB/ or whatever.
Thanks for your help and especially your patience with Mercurial,
On Wed, Jul 9, 2008 at 2:14 PM, Ryan Krauss ryan...@gmail.com wrote:
Ondrej's quickstart is very helpful. Thanks for that.
Thanks. I'd appreciate all comments, because I wrote the quick start exactly for people like you so that they can start hacking in 5 minutes.
So tell me your impressions, what was difficult, etc, so that we can improve it.
Ondrej