Differences between revisions 1 and 2
Revision 1 as of 2009-03-18 23:26:07
Size: 845
Comment: A funny hack using browser's capabilities to show whether the repo has changed
Revision 2 as of 2009-05-19 19:31:08
Size: 847
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Assume that you use the web interface and you would like to see whether someone committed a change since you've last looked at the repositories index. By default, you can see ''when'' the last change was committed; there is no easy way to see ''who'' did commit it - in particular, was it me or someone else? But there exists [http://wiki.sheep.art.pl/Comfortable%20Counters a rather funny hack I learned from my friend] which helps: change the "map" file from the template you are using so that in the line "indexentry" it says {{{<a href="{url}{sessionvars%urlparameter}&{lastchange|hgdate}">}}}. Then, your browser will mark the repos whose last change wasn't seen through the web interface as "unvisited links" (usually, different colour - you could change it using CSS). (Untested on IE, but works on FF.) Assume that you use the web interface and you would like to see whether someone committed a change since you've last looked at the repositories index. By default, you can see ''when'' the last change was committed; there is no easy way to see ''who'' did commit it - in particular, was it me or someone else? But there exists [[http://wiki.sheep.art.pl/Comfortable%20Counters|a rather funny hack I learned from my friend]] which helps: change the "map" file from the template you are using so that in the line "indexentry" it says {{{<a href="{url}{sessionvars%urlparameter}&{lastchange|hgdate}">}}}. Then, your browser will mark the repos whose last change wasn't seen through the web interface as "unvisited links" (usually, different colour - you could change it using CSS). (Untested on IE, but works on FF.)

Assume that you use the web interface and you would like to see whether someone committed a change since you've last looked at the repositories index. By default, you can see when the last change was committed; there is no easy way to see who did commit it - in particular, was it me or someone else? But there exists a rather funny hack I learned from my friend which helps: change the "map" file from the template you are using so that in the line "indexentry" it says <a href="{url}{sessionvars%urlparameter}&{lastchange|hgdate}">. Then, your browser will mark the repos whose last change wasn't seen through the web interface as "unvisited links" (usually, different colour - you could change it using CSS). (Untested on IE, but works on FF.)


CategoryTipsAndTricks

VisualizingIfSomeoneCommittedInWebInterface (last edited 2012-05-13 14:15:23 by 62)