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)?
A quick overview of the basic commands: hg init: create a new repository. hg commit: save your changes in the current repository.
Use the command hg update to switch to an existing branch. Use hg commit --close-branch to mark this branch head as closed. When all heads of a branch are closed, the branch will be considered closed. Returns 0 on success.
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With