Nate,

> Question setup: I have a project checked out into two workspaces. In
> workspace 1, I activate a task, open some files, edit some stuff,
> commit the changes to svn, and attach the context to the task.
>
> In workspace 2, I update from svn, retrieve the context of a task and
> activate it. The correct files show in the Package Explorer (on the
> left), but the files (which I left open in workspace 1) do not open
> automatically and the cursor isn't placed at the last edit point.
>
> Is it possible to get trac working that way?

It does work for me that way.

The trick I used to make sure all project names were the same was to
check the .project file into SVN.  Then, if you use File -> Import ->
SVN ->
Checkout Projects from SVN it seems to name everything consistently.

I suspect you have to do that before you start to create Mylyn
context,
though.  Have you unzipped the mylyn-context.zip files and looked at
them to make sure they all reference the same files in the same
manner?

> ps question: I didn't setup the postcommit hooks from svn to trac yet
> because it seems like all they do is update ticket status for you. Am
> I missing some other cool thing they can do, or maybe updating ticket
> status is a bigger deal than I think it is?

Nope, I think that's mainly what it does, along with listing the SVN
commit number into the trac ticket so you can find the changeset
later.
I don't actually use the post-commit hook because I have multiple trac
instances and only one subversion repository, so I just copy the SVN
commit from the Eclipse SVN console and update the ticket manually.

Hope this helps,

--
Earl Tom

[snip]

--

You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.


Reply via email to