Hi *, On Fri, Nov 21, 2008 at 6:31 PM, Michael Stahl <[EMAIL PROTECTED]> wrote: > On 20/11/2008 18:54, Thorsten Behrens wrote: > > it seems to me that opengrok should be able to do something similar;
unfortunately not with the cws based method. OpenGrok unfortunatly only works on a per-checkout/branch way. > unfortunately, there does not seem to be a way to view a diff for every > commit (presumably that is merely a missing feature?). More like a different concept. With opengrok you can use the history search function to search for a given revision/search in the commit-messages, but that only works on the current project (trunk on pumbaa, on Sun's version they have the individual masters as seperate projects) > so, i wonder, if ooo opengrok worked like opensolaris opengrok, would there > still be missing features compared to viewvc? OpenGrok on pumbaa http://pumbaa.ooodev.org:59145/source/ has history & annotate enabled, but it lacks bonsai features. You cannot do queries like "show me all commits to a specific cws after <date>" (since it only operates on a per-checkout basis, so pumbaa would reflect trunk, and on Sun's instance it would be whatever project (i.e. Milestone, just seperate checkouts, think of different instances of opengrok available via one interface where you choose which one to use) And you cannot query it to "show the latest version/revision xy of file 'foo' on cws 'bar'" - it will only return the file as it was on the selected branch/project at that specific revision. (Again because it only "knows" of one checkout/tree). To illustrate this: # get a file as of revision 264037 from the master, and from the cws it was actually modified in and compare the two: svn cat -r 264037 svn://svn.services.openoffice.org/ooo/tags/DEV300_m35/comphelper/inc/comphelper/storagehelper.hxx > storagehelper.m35 svn cat -r 264037 svn://svn.services.openoffice.org/ooo/cws/dba31d/comphelper/inc/comphelper/storagehelper.hxx > storagehelper.cws diff -u storagehelper.m35 storagehelper.cws --- storagehelper.m35 2008-11-21 19:42:08.000000000 +0100 +++ storagehelper.cws 2008-11-21 19:42:23.000000000 +0100 @@ -48,6 +48,9 @@ namespace comphelper { +sal_Bool COMPHELPER_DLLPUBLIC IsValidZipEntryFileName( + const sal_Unicode *pChar, sal_Int32 nLength, sal_Bool bSlashAllowed ); + class COMPHELPER_DLLPUBLIC OStorageHelper { public: So despite the two commands both give you the file "as of revision 264037", the result is two different files, since the master is a different branch than the cws. There unfortunately is no way to tell opengrok to work on a different tree than it is configured to use, you're restricted to the branch opengrok actually indexes. (for pumbaa this is trunk, for Sun's instance it is the individual Milestones) ciao Christian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
