[darcs-users] three issues with darcs web pages

Lele Gaifax lele at nautilus.homeip.net
Sat Aug 7 11:45:25 UTC 2004


>>>>> "David" == David Roundy <droundy at abridgegame.org> writes:

    >> When you click on a patch, you just get a directory listing.  I
    >> presume that the directory listing is showing the contents of
    >> the repository after that patch was applied, or something.

    David> If you look carefully, you can see that the directory
    David> listing indicates which files were modified or renamed.  If
    David> you click on the modified files, you can see what changes
    David> were made to them (in red and green text for removed and
    David> added lines).  It's not the most compact way of presenting
    David> the information, but it *is* comprehensive.

Yes, but the functionality still has a glitch: when you select a patch
*when* you are inside a subdirectory, the script generate an URL of
the kind::

  http://server/.../proj/subdir/?c=annotate&p=patchname.gz

and the script shows the annotated directory listing of a completely
different patch (actually, the first).  Removing 'subdir/' from the
URL produce the expected output.

Consider for example the current patches on the 'cgi' subdir of the
darcs repository::

  http://abridgegame.org/cgi-bin/darcs.cgi/darcs/cgi/?c=patches&t=

and click on the first patch, 'add link to patch that removes existing
line', that brings you to the following::

  http://abridgegame.org/cgi-bin/darcs.cgi/darcs/cgi/?c=annotate&p=20040806191649-998a4-f0b727bffede69078779ffb927ef0e736774b854.gz

that actually shows 'initial version of darcsrv.'

Finally a question: is it possibile to get also the long changelog of
the patches, if any?

thanx,
bye, lele.
-- 
nickname: Lele Gaifax	| Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas	| comincerò ad aver paura di chi mi copia.
email: lele at seldati.it	|		-- Fortunato Depero, 1929.





More information about the darcs-users mailing list