I'm using TortoiseHG with mercurial and I have to log my changes from last month. It has to be something like this in GIT:
git log --since="2015-03-01" -p --author='me' > C:\history_3.log
Can you tell me how can I do it (using tortoise gui or terminal)?
You want to make use of mercurial's revsets, a very powerful language to filter the revisions listed:
hg log -r"author('YOURNAME') and date('>2015-03-01')"
or alternatively for the last 30 days:
hg log -r"author('YOURNAME') and date('-30')"
.
See hg help revsets
and hg help dates
.
EDIT: Using tortoiseHG, you can use the magnifying glass icon in the toolbar (thanks Kevin)
来源:https://stackoverflow.com/questions/29841425/mercurial-log-last-month-changes