Re: [Komodo-discuss] Using Subversion in Komodo
by Eric Robertson other posts by this author
May 9 2009 9:42AM messages near this date
view in the new Beta List Site
Re: [Komodo-discuss] Using Subversion in Komodo
|
Re: [Komodo-discuss] Using Subversion in Komodo
I had been avoiding using live folders since I thought that they would
include in the project everything in the working folder - there were many
things that I didn't want to have in the project to clutter it up. However
it seems that I was wrong in thinking this - must read through the help file
again.
I'm the only one that will be using the repository - I wanted to have one so
that I could keep better control over the various versions. Following what
you said I used Apple+I to open up the info window and just added myself
with read+write permissions. Before changing to live folders the file that I
had amended has now updated the repository so that's working OK.
I still have problem with the missing file - update doesn't bring it back. I
did get a message at one point that the working copy of the file was missing
so I think it must have done something wrong in the way I deleted it in the
first place. I'm going to try deleting another file and then restoring it
from the repository and see if it works for that one.
Just one final thing. Am I correct in thinking that to restore an existing
file to an earlier revision it's correct to use svn copy one?
Many thanks for your help.
Regards
EricR
-----Original Message-----
From: Anton Visser [mailto:visseraj@[...].com]
Sent: Friday, May 08, 2009 4:39 PM
To: Eric Robertson
Cc: Komodo Discuss List ActiveState. Com
Subject: Re: [Komodo-discuss] Using Subversion in Komodo
Yes, you need to convert to live folders. Once you do that, Komodo
will see all your changes, and be much happier.
I'm not 100% familiar with Macs, but I'm sure you can use System
Preferences to manipulate users and groups. Personally, I would create
a subversion group, and then add myself to that group. Once the group
was created, I would find the repository using finder, select that
folder, press Apple+i and use that to recursively change permissions
on the folder.
cheers,
Anton
On Fri, May 8, 2009 at 10:34 AM, Eric Robertson
<ericrob@[...].uk> wrote:
> If I right click the folder I have a Refresh Status item in that menu
which
> IÂve clicked  there is a Source Control on Contents entry but its sub
menu
> only has Update, Diff, Commit Changes, Add and Checkout highlighted  no
> Refresh Status. After I clicked Refresh Status I used the Update in that
sub
> menu but with no joy. Incidentally my folders in Komodo are not live
ones Â
> could that be the problem?
>
> I set up my local repository as root, using sudo, and it is showing only
> Âsystem as having write permissions. As far as I recall I had to use
root
> to set it up but I may be wrong. Is that the problem there? This is a
Mac
> and IÂm not all that familiar with what can and canÂt be done with
> permissions. Should I be able to add myself to 'system' using Terminal
on
> the Mac?
>
> I'm a lifelong Windows user only fairly recently converted to the Mac
and
> I'm still getting used to its idiosyncrasies!
>
> Regards
> EricR
>
> Oh dear, I'm top posting again!
>
>
> Â -----Original Message-----
> Â From: Anton Visser [mailto:visseraj@[...].com]
> Â Sent: Friday, May 08, 2009 3:30 PM
> Â To: Eric Robertson
> Â Cc: Komodo Discuss List ActiveState. Com
> Â Subject: Re: [Komodo-discuss] Using Subversion in Komodo
>
> Â Have you tried right clicking the folder and refreshing the status,
> Â under the source control menu?
> Â That should get Komodo to realize the file is missing, and then an
> Â update will get the file for you.
>
> Â To fix the error with committing, I would not start Komodo with admin
> Â privileges. Â It would be better to check which group has privileges to
> Â your repository and then add yourself to that group, or change the
> Â group that has write privileges to the repository to one that you are
> Â a member of.
>
> Â Hope this helps.
>
> Â cheers,
> Â Anton
>
> Â On Fri, May 8, 2009 at 8:59 AM, Eric Robertson
<ericrob@[...].uk>
> Â wrote:
> Â > Anton, thanks for the reply. I should have thought about using update
in
> Â my
> Â > situation. However when I tried it on the folder that contained the
> Â missing
> Â > file I got the message showing the latest revision number but no
> Â indication
> Â > of having transferred the file, and when I looked at the working
> Â directory
> Â > it still wasn't there. I've checked again and it's definitely in the
> Â > repository. I assume that if I wanted to restore an earlier version
> Â (there's
> Â > not one here) I would have to use copy.
> Â >
> Â > I did also try to check that I could amend a file and update the
> Â repository
> Â > all right but there I got a message that I didn't have permission to
> Â create
> Â > the entry required although I do have admin rights. I got round this
by
> Â > using sudo in Terminal - incidentally my repository in currently a
local
> Â one
> Â > on my hard drive. Could it be that permissions are causing my other
> Â problem,
> Â > and how do I start up Komodo with admin rights?
> Â >
> Â > Regards
> Â > EricR
> Â >
> Â >
> Â >
> Â > On 8 May 2009, at 13:09, Anton Visser wrote:
> Â >
> Â >> Eric, Â easier way to restore a file, would be to right click on the
> Â >> folder containing the file, in the project view, on the left hand
> Â >> side. Then select Source Control -> Update. Â This will update the
> Â >> contents of your folder, restoring the missing file and updating
that
> Â >> folder, with any code committed by someone else.
> Â >>
> Â >> cheers,
> Â >> Anton
> Â >>
> Â >> On Fri, May 8, 2009 at 6:56 AM, Eric Robertson
> Â <ericrob@[...].uk>
> Â >> wrote:
> Â >>>
> Â >>> I'm using subversion for the first time and I'm having a problem
with
> Â >>> restoring a file from the repository.
> Â >>>
> Â >>> I'm using Komodo 5.1.3 on my Mac and have set up a repository using
> Â svn,
> Â >>> created a working directory and loaded all the files I require into
my
> Â >>> Komodo project. I wanted to see if I could restore a file that had
> Â been
> Â >>> deleted so I removed a file from the project and sent it to trash.
I
> Â then
> Â >>> copied the file from the repository into my working directory,
running
> Â >>> the
> Â >>> command from Run in Komodo, and then used Add/Existing File to get
the
> Â >>> file
> Â >>> back into my project.
> Â >>>
> Â >>> My problem is that there's no tick against this file in Komodo and
its
> Â >>> properties are not showing that it is under source code control.
I've
> Â >>> tried
> Â >>> Refresh Status to no avail.
> Â >>>
> Â >>> I must be doing something wrong. What is the correct way of
restoring
> Â a
> Â >>> file
> Â >>> and getting it back into a Komodo project?
> Â >>>
> Â >>>
> Â >>> _______________________________________________
> Â >>> Komodo-discuss mailing list
> Â >>> Komodo-discuss@[...].com
> Â >>> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> Â >>> Other options:
> Â >>> http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
>
>
>
_______________________________________________
Komodo-discuss mailing list
Komodo-discuss@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss
Thread:
Trent Mick
Eric Robertson
Anton Visser
Eric Robertson
Anton Visser
Eric Robertson
Anton Visser
Eric Robertson
Anton Visser
Eric Robertson
Todd Whiteman
Eric Robertson
Lindsay Marshall
Anton Visser
Todd Whiteman
Todd Whiteman
Trent Mick
Trent Mick
Anton Visser
|