zhuguowei
zhuguowei

Reputation: 8477

svn blame without author and version number info

I want to see who is responsible for some code and in which version, could use svn blame to accomplish this, e.g.

svn blame com/foo/web/action/order/CustomerCreateOrderAction.java | grep 'queryArtisanCond.setSelectOnlyId(true);'
7943  wenshuang         queryArtisanCond.setSelectOnlyId(true);

it's ok, but sometimes I found below output no version number and author, e.g.

svn blame com/foo/web/action/order/CustomerCreateOrderAction.java | grep 'ArtisanConstant.ARTISAN_DATEVERSION_NEW'        
 -          -                 if (ArtisanConstant.ARTISAN_DATEVERSION_NEW.equals(artisanVo.getDateVersion())) {

So why is so?

Upvotes: 0

Views: 88

Answers (1)

This happens if the file has local modifications that were not yet committed or if there were commits but no call to svn up since then.

Upvotes: 1

Related Questions