On Mon, Apr 22, 2013 at 4:32 PM, Daniel Wheeler
<
daniel....@gmail.com> wrote:
>
>
>
> On Mon, Apr 22, 2013 at 7:15 AM, Andrew Davison
> <
andrew....@unic.cnrs-gif.fr> wrote:
>>
>>
>>
>> On Friday, 19 April 2013 18:03:17 UTC+2, Takafumi Arakaki wrote:
>>>
>>> It seems that sumatra changes revision of git repository to head of
>>> master unconditionally. Is there a way to suppress this behavior?
>
>
> Can you set Sumatra to just store the diff "smt configure -c store-diff".
> That seems to prevent the checkout of master and use whichever is the
> working branch.
Thank you, this is a nice idea. I am wrapping "smt run" by my own CLI
so I can check if the working copy is dirty or not in this CLI. I
like this idea than using Python API because I want my program to be
well-separated from Sumatra (i.e., it should be runnable without
Sumatra).
>
>>
>> This behaviour can be avoided using the Python API, but not using "smt
>> run".
>>
>> I've been thinking about changing this for some time, but I've held off
>> since it is a backwards incompatible change. However, I think it is time to
>> change this. I've created a ticket:
>>
http://neuralensemble.org/trac/sumatra/ticket/171
>>
>> Essentially, this involves changing the default from "latest" to
>> "current", i.e. Sumatra will not change the working copy, but will use
>> whatever version is currently checkout out (and will return to this version
>> after "smt repeat").
>>
>> Can anyone see any potential problems with this change?
>
>
> No. I think you're right. Should use whatever working version is checked
> out.
>
>
> --
> Daniel Wheeler
>