Hi, You may use trac-post-commit-hook,then you can add ticket number into your comment when you commit files to svn. It's very convenient to check what files relate to a ticket, have a good luck.
Best Regards Evan Wang On Dec 31 2007, 9:06 pm, Emilien Klein <[EMAIL PROTECTED]> wrote: > Hi, > > I'm pretty new to Trac, but I find it really useful. > We are currently using Trac 0.11dev-r6048 in my company to do web > development. > > My question is the following: > Is there a way of getting, from the ticket number, the list of files > that have been committed regarding this ticket number? > > Let me give you an example of what I am searching for: > - A ticket is opened concerning a bug that has been found. This ticket > gets the number 27. > - I make some changes in the file "file1.php", and commit it to the svn > repo. This creates the Changeset [324] int the Timeline. > - A few days later, I realize that something more has to be done in > "file2.php", and commit it after correcting the bug. This creates the > Changeset [361] in the Timeline. > - After validation by another person, the bug is considered fixed, so I > want to upload all the files that have been modified to correct bug #27. > Currently, I go to the Timeline, and with a little <ctrl>-F "#27", I > manually search for each changeset that has been done regarding this bug > (I will thus find Changeset [324] and [361]). For each Changeset, I > click on the link and note on a post-it the name of the files that have > been modified. Additionally I would even check for each file if it has > not been modified to correct another opened bug, so as not to upload by > error a pending bug fix (I have to admit that I happen to not check all > the files, as it is very ) > > As you can understand, this is OK if there is only a few Changesets and > modified files, but if you have a heavy bug that implies a lot of > modifications in a lot of files (starting at 10 changesets and 20 files > for example), this procedure gets really annoying. > > My "dream" is to get from "BUG #27", the list > - "file1.php" > - "file2.php" > > I'm sure I'm not the only one to need this, no? Does a way of doing this > exist? > > Best Regards, > Emilien Klein. > P.S.: Happy New Year in advance :) --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---
