Re: Tree conflict resolution considered harmful

2018-08-30 Thread Daniel Shahaf
Dag-Erling Smørgrav wrote on Thu, 30 Aug 2018 23:49 +0200: > Daniel Shahaf writes: > > Dag-Erling Smørgrav 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

Re: Tree conflict resolution considered harmful

2018-08-30 Thread Daniel Shahaf
Stefan Sperling wrote on Thu, 30 Aug 2018 14:06 +0200: > In --non-interactive mode the default value for --accept is 'recommended'. This is a backwards incompatible change to the semantics of `svn merge --non-interactive` (with no other --option flags): A workflow designed under 1.9 and trusting s

Re: Tree conflict resolution considered harmful

2018-08-30 Thread Dag-Erling Smørgrav
Daniel Shahaf writes: > Dag-Erling Smørgrav 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. DES -- Dag-Erling Smørgrav - d...@des.

Re: Tree conflict resolution considered harmful

2018-08-30 Thread Daniel Shahaf
Dag-Erling Smørgrav wrote on Thu, 30 Aug 2018 14:49 +0200: > % svn resolved $(svn stat | awk '$2 == "C" { print $3 }') 'svn resolved -R ./' is equivalent and more robust.

Re: Tree conflict resolution considered harmful

2018-08-30 Thread Dag-Erling Smørgrav
Stefan Sperling writes: > A tree conflict occurs because config.h.in was deleted from head in > r294466: [...] However, config.h.in still exists on the > vendor-branch, and during the merge of r338344 we get an edit for this > file: Correct, same goes for all the .0 files (which are prerendered

Re: Tree conflict resolution considered harmful

2018-08-30 Thread Stefan Sperling
On Thu, Aug 30, 2018 at 06:15:58AM +, Chris wrote: > By the way, if I remember correctly, --quiet works to stop the resolver, but > --non-interactive did not. This is correct. I misremembered how this was implemented. The reason that the resolver runs in --non-interactive mode is that we wan

Re: Tree conflict resolution considered harmful

2018-08-30 Thread Stefan Sperling
On Thu, Aug 30, 2018 at 11:34:18AM +0200, Dag-Erling Smørgrav wrote: > Stefan Sperling writes: > > Could you provide a shell script I can use to actually run the problematic > > merge myself in a working copy of the appropriate subdirectory of the > > FreeBSD > > repository? > > svn co -q svn://

Re: Tree conflict resolution considered harmful

2018-08-30 Thread Dag-Erling Smørgrav
Stefan Sperling writes: > Could you provide a shell script I can use to actually run the problematic > merge myself in a working copy of the appropriate subdirectory of the FreeBSD > repository? svn co -q svn://svn.freebsd.org/base/head@338344 cd head/crypto/openssh svn merge --non-interactive -c

Re: Tree conflict resolution considered harmful

2018-08-30 Thread Dag-Erling Smørgrav
Chris writes: > [...] The case reported in this thread seems to have the conflict far > back so I guess that's why the mitigation doesn't work here. No, it's stuck on a single revision. Look at the timings from the trace: 35.021454 r338344 40.898214 r338059 40.898328 r333678 40.