[Insight-developers] Commit problem

Luis Ibanez luis.ibanez at kitware.com
Wed Jun 8 18:48:38 EDT 2011


Ashish,

Thanks for you time on the phone today.

--

To summarize for the list,
Here is what we found:

Ashish had a clone of ITK,
in which he didn't initially run the
SetupForDevelopment.sh script.

He made changes in that cloned repository (created a branch,
and did "git add "s).  Then when committing the git hooks
indicated that the repository was not setup for commits.

At that point he ran the SetupForDevelopment.sh script,
but it was too late for properly preparing the hooks in the
repository.

In the same machine, we verified that in a newly cloned
repository, *and* running the SetupForDevelopment.sh script
just after cloning, the rest of the setup worked properly.


The take home message:

When starting to work in an ITK Clone do:

  A)   Clone the repository

  B)   Right away,
         call the SetupForDevelopment.sh script
         (do not wait to do this later).



    Luis


----------------------------------------
On Wed, Jun 8, 2011 at 10:56 AM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> Hi Ashish,
>
> Off the list, please email me a phone number
> (or Skype Id) and I'll call you to track and
> fix this problem.
>
>
>    Thanks
>
>
>         Luis
>
>
> ------------------------------------
> On Wed, Jun 8, 2011 at 9:47 AM, Ashish Sharma <ashishs99 at gmail.com> wrote:
>>
>> I am facing this problem while committing my local changes: I keep getting
>> the familiar error:
>>
>> Your work tree has not been configured for ITK development.
>>
>> Paste the following commands into a shell:
>>
>>  ./Utilities/SetupForDevelopment.sh
>>
>> See http://www.itk.org/Wiki/ITK/Git/Develop for more details.
>> I have tried removing the Hooks and running the setup again but of no avail.
>> Could anyone suggest what might be wrong here?
>>
>> Thanks,
>> Ashish
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-developers
>>
>>
>


More information about the Insight-developers mailing list