Reputation: 50089
Whenever I do an svn log
or svn blame
I want it to always use the --use-merge-history
(or -g
) flag, so that I can follow the history across branches.
I would prefer not to use a shell alias like lsvn
or svn_log
.
Upvotes: 1
Views: 77
Reputation: 289755
You can create an alias by adding these lines in your ~/.bashrc:
f_svn ()
{
svn $1 -g
}
alias svn=f_svn
So whenever you call svn something
it will do svn something -g
.
Then, in case you want to call the original svn
command, you just have to call \svn
.
Upvotes: 2