mercurial - Delete local bookmarks that haven't been touched in 7 days -


how should clean local bookmarks hasn't been touched (say in past 7 days)? using

hg bookmark -d <bookmark name>  

seems unscalable.

to knowledge there no information when bookmark updated last or when created; can obtain information of age of commits attached easily, e.g.

hg log -r "bookmark() , date('-1000')" hg log -r "bookmark() , date('<01/30/2015')" 

for bookmarks attached commits created in last 1000 days or bookmarks attached commits older january 30th 2015.

edit add: there journal extension. allows track when , revisions bookmark attached to. might want enable extension if want solve problem future.


Comments