ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> komodo-discuss
komodo-discuss
Re: [Komodo-discuss] Using Subversion in Komodo
by Anton Visser other posts by this author
May 9 2009 10:24AM 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'm glad you have it figured out.

How are you deleting the file?  If you just simply use a file system
delete, or delete via Komodo, SVN should pick up that is is missing,
and grab the latest copy when you update.  If you delete using SVN
then it will be gone, and you will have to copy a specific revision,
as you mentioned.

Checkout the SVN book for any subversion questions you have.
http://svnbook.red-bean.com/

cheers,
Anton


On Sat, May 9, 2009 at 11:44 AM, Eric Robertson
<ericrob@[...].uk>  wrote:
>  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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved