<div dir="ltr"><div><div>Two months ago I had to resign my job.<br></div><div>At that time I was developing a system <br></div><div>in my spare time and in working hours <br></div><div>i did some programming/testing at the backs of <br>
</div><div>my bosses. Anyways they said that<br></div><div>the platform belonged to them because<br>It was developed when I was in contract...<br><br></div><div>Anyways i had to auditory my repository <br></div><div>to prove them that the thing Is actually<br>
mine. I had to check that every commit were<br></div><div>done in spare time but mercurial had no <br></div><div>obvious means to do that (maybe bisect?), <br>so i had to do a tedious manual check...<br></div><div></div><div>
 <br>Here is a suggestion to extend the revset language<br></div>to pick commits by a more human/worker basis... <br>Whatever this means here it goes:<br><br></div><div>At this moment there is no revset modifier to select<br>
commits on a basis like "giveme all changesets<br></div><div>between 15:00 and 19:00 hrs".<br><br></div><div>I tried looking at the revset and util.py files and I even<br>added some raw support for my ideas but<br>
</div><div>i got into a dead end because there are no<br></div><div>standard or normalized means to describe time<br></div><div>(i think).<br><br></div><div>Either way, i called that functionality "timerows".<br>
</div><div>Timerows classifies time by magnitude<br></div><div>(in gmtime-like form).<br><br></div><div>To the phrasing example above, the pseudo<br></div><div>logic would be like:<br><br></div><div>timerow(hour > 15:00) and timerow(hour < 19:00)<br>
<br></div><div>We could even do more convoluted queries,<br></div><div>like "all changesets done on working hours"<br><br></div><div>timerow(day >= monday)<br></div><div>and timerow(day <= friday)<br></div>
<div>and (timerow(9.30 <= hour 12.50)<br></div><div>        or timerow(15:00 <= hour <= 19:30))<br><br></div><div><br><br></div></div>