Re: [Komodo-discuss] Using Subversion in Komodo
by Eric Robertson other posts by this author
May 10 2009 10:26AM 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 sure I used one of the two methods you mention to delete the file. It is
still in the repository - svn file shows it there - but it's still not being
restored with an update. I've not yet tried to delete and restore another
file, to see if I can get working correctly for another file.
I had been reading the online book you mention - will have to study in more
detail the parts I skipped over!
Regards
EricR
-----Original Message-----
From: Anton Visser [mailto:visseraj@[...].com]
Sent: Saturday, May 09, 2009 6:25 PM
To: Eric Robertson
Cc: Komodo Discuss List ActiveState. Com
Subject: 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
|