Dag-Erling Smørgrav wrote on Thu, 30 Aug 2018 23:49 +0200:
> Daniel Shahaf <d...@daniel.shahaf.name> writes:
> > Dag-Erling Smørgrav <d...@des.no> writes:
> > > % svn resolved $(svn stat | awk '$2 == "C" { print $3 }')
> > 'svn resolved -R ./' is equivalent and more robust.
> 
> No.  My command line only resolves tree conflicts.  Yours also resolves
> text conflicts.

Fair enough.  I don't think we have an easy syntax for resolving only
tree conflicts.

You probably know the following, but for the list's benefit I'll say it:
awk(1) is not a robust way to parse `svn status` output; the output is
columns-oriented, not whitespace-separated-fields oriented.  `svn st |
cut` or `svn st --xml` are the recommended idioms.

Cheers,

Daniel

Reply via email to