diff view puts revision back into $REV
commit6f8e9f59450b8bcc55ffabe3d054eea513afad45
authorAndreas Gohr <andi@splitbrain.org>
Mon, 21 Sep 2009 21:33:02 +0000 (21 23:33 +0200)
committerAndreas Gohr <andi@splitbrain.org>
Mon, 21 Sep 2009 21:33:02 +0000 (21 23:33 +0200)
tree8c10ca6c83254d3f1a43289a7f9ceb12e1a89942
parent7871d415d4361d4d2e63553a85086073132c8df7
diff view puts revision back into $REV

Ignore-this: c671d4887772c0e08b04687472a5142f

When a diff is shown without giving a revision (eg when coming from recent
changes), the diff is done agains the latest non-current revisions. This
revision is now put back into the global $REV.

This fixes a problem with the restore button not visible.

However this only works when the restore button is called after the diff
view. A better solution probably needs to be found.

darcs-hash:20090921213302-7ad00-aa9ef53f9bc9ea8d0dc51e55b049943feb11c412.gz
inc/html.php