On Tue, Nov 13, 2007 at 09:08:15PM -0800, Jyri Virkki wrote:

> Who in the current process makes use of diff's in/attached to the CRs?
> For what purpose?
> Why?
> 
> I dislike diffs in CR text (for what should hopefully be obvious
> reasons) so I want to explore why is this being done and how to fix it
> in the process of whoever is dependent on them.

Hopefully many of the reasons for this simply won't be necessary any longer
once we switch to mercurial, which keeps track of the entire changeset, so
you can always retrieve the diffs for any particular bug as long as you
have access to the source repo.  In our IPS gate, I can do 

    hg log -k 203 -p

which looks up a revision with the keyword 203 and spits out the patch for
it.  This form isn't foolproof, but it's easy enough to find the actual
changeset you need.  (And I've been sticking the changeset ID in the bug as
well.)

Teamware, though, makes you recreate all this data by hand, by groping
through history files and putback logs and piecing changesets together by
looking for common SCCS comments.  Which is why it's *much* simpler to have
it all stuffed into the bug, either as a comment (if it's short) or as an
attachment (if it won't fit into the suggested fix field).

Danek

Reply via email to