[SciPy-Dev] git on windows (was: scipy.stats)

Vincent Davis vincent@vincentdavis....
Tue Jun 1 23:02:20 CDT 2010


On Tue, Jun 1, 2010 at 9:56 PM,  <josef.pktd@gmail.com> wrote:
> On Tue, Jun 1, 2010 at 11:39 PM, Matthew Brett <matthew.brett@gmail.com> wrote:
>> Hi,
>>
>> On Tue, Jun 1, 2010 at 8:07 PM,  <josef.pktd@gmail.com> wrote:
>>> On Tue, Jun 1, 2010 at 6:11 PM, Fernando Perez <fperez.net@gmail.com> wrote:
>>>> Hi Josef,
>>>>
>>>> On Tue, Jun 1, 2010 at 1:31 PM,  <josef.pktd@gmail.com> wrote:
>>>>> My main problem with git was the treatment of the file system, and I
>>>>> find it much easier to work with separate branches as in bzr or
>>>>> mercurial.
>>>>
>>>> One thing I've found very useful after transitioning to git for
>>>> IPython is the git new-workdir command:
>>>>
>>>> http://kerneltrap.org/mailarchive/git/2008/5/21/1900044
>>>> http://nuclearsquid.com/writings/git-new-workdir.html
>>>>
>>>> It lets me keep a few branches around that I want 'permanent' on my
>>>> filesystem, in a bzr shared-repo style, while using git for the
>>>> lightweight feature-only branches.  This is how it looks like right
>>>> now on my system:
>>>
>>> thanks very useful information , git-new-workdir seems to be what I would like.
>>> Does it work on Windows?
>>
>> Sadly - probably not without a little hacking...
>>
>> http://code.google.com/p/msysgit/issues/detail?id=99
>>
>> But, if you think you need it, the script is so short that it would
>> only take a short time to port to python (it's in sh):
>>
>> http://git.kernel.org/?p=git/git.git;a=blob_plain;f=contrib/workdir/git-new-workdir;hb=HEAD
>>
>> I see there are symbolic links there, that will require a little fancy
>> footwork on windows, as you know.
>>
>> If I have time I'll give it a go.
>
> I don't think that's necessary (symlinks sound tricky) and scipy will
> be on a public repository, so your multiple (if I understand
> correctly) clone solution will work.

Could you not use hg to do what you want (work with local directories)
and the use hg-git when you need to?

I am kinda partial to hg and bzr.

Vincent

>
> Josef
>
>>
>> See you,
>>
>> Matthew
>> _______________________________________________
>> SciPy-Dev mailing list
>> SciPy-Dev@scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-dev
>>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>


More information about the SciPy-Dev mailing list