简体   繁体   中英

Can I set SVN to always use the --use-merge-history option?

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 .

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM