Equivalent to work in svn

Is there an equivalent mechanism for working with perforce in svn to group related changes?

0


a source to share


2 answers


No, at least not out of the box. Such revision metadata should be stored elsewhere, such as Trac or some other system built on top of the SVN repository. I haven't found another SCM that does this pretty well, like Perforce, unfortunately.



+2


a source


To group related changes you must use a changelist

From what I've read about assignments, they're kind of like bug tracking links.

In order to link the error link on commit, you will need to inject something on top of SVN (since SVN does not have an integrated bugtracker), but you also need to say which bugtracker you would like to integrate with - which means the technique will be different. In all cases, the bugtracker association is done in the post-commit hook.



For example, I use Mantis as my bugtracker, when I commit a change, if I have entered some magic words in the log message (eg "Bug # 1234 fixed" or "Mantis fixed # 1234") then the post-commit hook will send this message and the extracted error number to the Mantis url using curl and will automatically fix the error (and also add the log message text to bugnote).

For bugtracker, you can replace any other API system.

-1


a source







All Articles