From: Reid Kleckner Date: Mon, 24 Apr 2017 22:26:46 +0000 (+0000) Subject: [git-llvm] Remove CR from middle of svn propget output X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df7263567add9621a359e42e406145790dd7426c;p=platform%2Fupstream%2Fllvm.git [git-llvm] Remove CR from middle of svn propget output llvm-svn: 301268 --- diff --git a/llvm/utils/git-svn/git-llvm b/llvm/utils/git-svn/git-llvm index 8d42786..c2eaa5b 100755 --- a/llvm/utils/git-svn/git-llvm +++ b/llvm/utils/git-svn/git-llvm @@ -208,6 +208,8 @@ def fix_eol_style_native(rev, sr, svn_sr_path): ignore_errors=True).split('\n') crlf_files = [] for eol_prop in eol_props: + # Remove spare CR. + eol_prop = eol_prop.strip('\r') if not eol_prop: continue prop_parts = eol_prop.rsplit(' - ', 1)