Script to check if all files are under the same root SVN -
hi guys,
i have method of working branches , times happens of files under checked out directory point wrong root i.e pointing file in 1 of branch instead of actual branch.
i wondering if there script can verify if files in checked out folder under same root..
thanks lot in advance.
this should trick: suppose expected root https://svn.server.local/trunk/
, execute following in local copy's root folder:
svn info -r | grep "url:" | grep -v "url: https://svn.server.local/trunk/"
or, on windows:
svn info -r | find "url:" | find /v "url: https://svn.server.local/trunk/"
the output url list of files not under root repository.
Comments
Post a Comment