yes

Le 10/12/15 18:12, Mariano Martinez Peck a écrit :
How many times have you tried to search a string as a comment of a commit in all the history? Myself: many many times. I know we need much better tools for that, store the history in a another way, provide a nicer API, etc etc. And I know there were topics about that.

However, I would deeply appreciate a very short term solution for ease that. The model side is as simple as this:

| packageName ancestry anscestors substring |
packageName := 'MyPackageXX'.
substring := 'whatever I want to search'.
ancestry := (MCWorkingCopy allManagers detect: [:each | each packageName = packageName] ) ancestry. anscestors := ancestry withBreadthFirstAncestors select: [:each | each isKindOf: MCVersionInfo].
anscestors select: [ :each | each message includesSubstring: substring ]

Do you think it's worth a simple UI tool? Custom inspector of MCAncestry?

Cheers,


--
Mariano
http://marianopeck.wordpress.com


Reply via email to