How to get the age of uncommitted changes in Mercurial? -
i saw pretty neat command line prompt other day. guy using zsh , customized prompt display how long had been since last commit. think pretty awesome , similar.
the catch using git, , prefer mercurial.
getting how long it's been since last commit easy enough, misleading. if commit changes, else hour, come codebase, it's been hour since last commit. i'm looking time it's been since changes started. possible through shell or have plugin?
you list of files have uncommitted changes, , earliest modified date. however, if changed file 1 minute since last commit, changed same file 5 minutes ago, recent change count.
i have prompt hook shows me number of modified files, current revision number, branch , tag name, takes noticeable amount of time execute each time shell prompt shown. can't provide details right though.
Comments
Post a Comment