Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: George Bosilca (bosilca_at_[hidden])
Date: 2007-10-26 15:33:04


Ethan,

I think I understand what the problem is. We should check for 2
files: ~/.svk and ~/.svk/local. If they both exist then we can use
the "svn info" command. If ~/.svk/local is missing then svk will ask
the user if it's ok to create it.

With both ~/.svk and ~/.svk existing I finally got the expected
answer from svk:
svk info unstable/ompi-trunk/
path /Users/bosilca/unstable/ompi-trunk is not a checkout path.

   george.

On Oct 26, 2007, at 3:13 PM, George Bosilca wrote:

> Ethan,
>
> Looks like you have a really old version of svk. Here is the
> information about mine:
>
> svk --version
> This is svk, version v2.0.2 (using Subversion bindings 1.4.5)
>
> And here is what's happens when I "svk info" on a non svk path.
>
> svk info unstable/ompi-trunk
> Repository /Users/bosilca/.svk/local does not exist, create? (y/n)
> Interrupted.
>
> I had to kill it with CTRL+C ...
>
> Thanks,
> george.
>
> On Oct 26, 2007, at 3:04 PM, Ethan Mallove wrote:
>
>> George,
>>
>> For me, SVK says the below on a non-SVK path (then it
>> immediately exits):
>>
>> $ svk info /tmp
>> path /tmp is not a checkout path.
>>
>> $ svk --version
>> This is svk, version 1.07.
>>
>> What is the prompt that SVK gives you?
>>
>> -Ethan
>>
>>
>> On Fri, Oct/26/2007 02:36:50PM, George Bosilca wrote:
>>> Ethan,
>>>
>>> It only solve half the problem. I do have some svk based
>>> directories on my system ... but not all my Open MPI
>>> checkouts are svk based. So, it still deadlock for me.
>>>
>>> george.
>>>
>>> On Oct 26, 2007, at 2:33 PM, Ethan Mallove wrote:
>>>
>>>> Whoa! My apologies. I saw the same behavior when I did:
>>>>
>>>> $ rm -rf ~/.svk
>>>>
>>>> I think if we check the existence of $HOME/.svk before doing
>>>> any svk commands then we should be okay. I did that in
>>>> r16586. Does it work for you now?
>>>>
>>>> -Ethan
>>>>
>>>>
>>>> On Fri, Oct/26/2007 02:02:42PM, George Bosilca wrote:
>>>>> This patch break the autogen.sh in the case svk is
>>>>> available on the node. I try it on MAC OS X as well as
>>>>> Linux boxes, and svk info will try to create the svk if
>>>>> the project is not svk based. In fact it ask the user if
>>>>> he want to create the svk stuff, but the output is hidden
>>>>> by the autogen.sh so it just stay there forever.
>>>>>
>>>>> Thanks,
>>>>> george.
>>>>>
>>>>> Begin forwarded message:
>>>>>
>>>>>> From: emallove_at_[hidden]
>>>>>> Date: October 25, 2007 10:12:53 AM EDT
>>>>>> To: svn_at_[hidden]
>>>>>> Subject: [OMPI svn] svn:open-mpi r16563
>>>>>> Reply-To: devel_at_[hidden]
>>>>>>
>>>>>> Author: emallove
>>>>>> Date: 2007-10-25 10:12:52 EDT (Thu, 25 Oct 2007)
>>>>>> New Revision: 16563
>>>>>> URL: https://svn.open-mpi.org/trac/ompi/changeset/16563
>>>>>>
>>>>>> Log:
>>>>>> Sanity check for SVK workspace in autogen.sh.
>>>>>>
>>>>>> Text files modified:
>>>>>> trunk/autogen.sh | 29 ++++++++++++++++++++++++++++-
>>>>>> 1 files changed, 28 insertions(+), 1 deletions(-)
>>>>>>
>>>>>> Modified: trunk/autogen.sh
>>>>>> =================================================================
>>>>>> =============
>>>>>> --- trunk/autogen.sh (original)
>>>>>> +++ trunk/autogen.sh 2007-10-25 10:12:52 EDT (Thu, 25 Oct 2007)
>>>>>> @@ -1103,6 +1103,32 @@
>>>>>> unset project project_path framework framework_path
>>>>>> component
>>>>>> component_path
>>>>>> }
>>>>>>
>>>>>> +################################################################
>>>>>> ##############
>>>>>> +#
>>>>>> +# check_for_svk_checkout - determine whether this is an SVK
>>>>>> checkout
>>>>>> +#
>>>>>> +# INPUT:
>>>>>> +# none
>>>>>> +#
>>>>>> +# OUTPUT:
>>>>>> +# none
>>>>>> +#
>>>>>> +# SIDE EFFECTS:
>>>>>> +#
>>>>>> +################################################################
>>>>>> ##############
>>>>>> +check_for_svk_checkout() {
>>>>>> + is_svk_checkout=0
>>>>>> +
>>>>>> + svk_path=`which svk 2>/dev/null`
>>>>>> + if test -x "$svk_path"; then
>>>>>> + top_level_dir="`dirname $0`"
>>>>>> + svk info $top_level_dir >/dev/null 2>&1
>>>>>> + if test "$?" = 0 ; then
>>>>>> + is_svk_checkout=1
>>>>>> + fi
>>>>>> + fi
>>>>>> +
>>>>>> +}
>>>>>>
>>>>>>
>>>>>> #################################################################
>>>>>> #############
>>>>>> #
>>>>>> @@ -1135,7 +1161,8 @@
>>>>>> echo "[Checking] prerequisites"
>>>>>>
>>>>>> # sanity check to make sure user isn't being stupid
>>>>>> -if test ! -d .svn ; then
>>>>>> +check_for_svk_checkout
>>>>>> +if test ! -d .svn -a ! $is_svk_checkout ; then
>>>>>> cat <<EOF
>>>>>>
>>>>>> This doesn't look like a developer copy of Open MPI. You
>>>>>> probably do
>>>>>> not
>>>>>> _______________________________________________
>>>>>> svn mailing list
>>>>>> svn_at_[hidden]
>>>>>> http://www.open-mpi.org/mailman/listinfo.cgi/svn
>>>>>
>>>>
>>>>
>>>>
>>>>> _______________________________________________
>>>>> devel mailing list
>>>>> devel_at_[hidden]
>>>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>>>
>>>> _______________________________________________
>>>> devel mailing list
>>>> devel_at_[hidden]
>>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>>
>>
>>
>>
>>> _______________________________________________
>>> devel mailing list
>>> devel_at_[hidden]
>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>
>> _______________________________________________
>> devel mailing list
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel



  • application/pkcs7-signature attachment: smime.p7s