Re: Using Subversion in Komodo
"Eric Robertson" <[email protected]>
| Newsgroups | gmane.comp.ide.komodo.general |
|---|---|
| Message-ID | <C9EB33A44E90487D8861A5D052AC6B69@Time> |
If I right click the folder I have a Refresh Status item in that menu which Ive 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 Im not all that familiar with what can and cant 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:[email protected]] 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 <[email protected]> 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 <[email protected]> >> 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 >>> [email protected] >>> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs >>> Other options: >>> http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss _______________________________________________ Komodo-discuss mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss