svn diff on root folder (like d:\) crash on Windows

2013-11-13 Thread Michel Archambault
Bug found on:
- Windows 7 64-bit
- svn 1.8.4
- Working copy in d:\ directly (not in a sub-folder like d:\MyTrunk\)

Step:
In a command prompt do
cd /d d:\ & svn diff > C:\Validpath.patch
where d:\ is a working copy.

What happen:
- a GPF (crash) of svn
- The file C:\Validpath.patch is created but empty (0 KB).


Previously work well in svn 1.7.x



Thank you and have a nice day.

-- 
Michel Archambault


RE: svn diff on root folder (like d:\) crash on Windows

2013-11-13 Thread Andrew Reedick
> From: Michel Archambault [mailto:micj...@gmail.com] 
> Sent: Wednesday, November 13, 2013 12:25 PM
> To: users@subversion.apache.org
> Subject: svn diff on root folder (like d:\) crash on Windows
>
>
>
> Bug found on:
> - Windows 7 64-bit
> - svn 1.8.4
> - Working copy in d:\ directly (not in a sub-folder like d:\MyTrunk\)
> 
> Step:
> In a command prompt do
> cd /d d:\ & svn diff > C:\Validpath.patch
> where d:\ is a working copy.
> 
> What happen:
> - a GPF (crash) of svn
> - The file C:\Validpath.patch is created but empty (0 KB).
> 
> 
> Previously work well in svn 1.7.x
>
>

Confirmed in 1.8.3 with Windows 7 32 bit.
svn, version 1.8.3 (r1516576)
   compiled Aug 28 2013, 10:07:20 on x86-microsoft-windows

0.  Start CMD.
1.  cd c:\
2.  svn co -N svn_url .
Don't forget the trailing dot.  Checkout a directory without any files 
in it if you don't want to mess up your root dir.
3.  mkdir foo
4.  date > foo\a.txt
Hit return a few times to create the file.
5.  svn add foo
6.  svn diff 
7.  Boom.  Specifically, from the event viewer:
Faulting application name: svn.exe, version: 1.8.3.9248, time stamp: 0x521db045
Faulting module name: libsvn_subr-1.dll, version: 1.8.3.9248, time stamp: 
0x521dafbf
Exception code: 0xc005
Fault offset: 0x00089f57
Faulting process id: 0xe468
Faulting application start time: 0x01cee09787232137
Faulting application path: C:\Program Files\Subversion\bin\svn.exe
Faulting module path: C:\Program Files\Subversion\bin\libsvn_subr-1.dll
Report Id: c4f9d99e-4c8a-11e3-a0b5-0021ccc90765

Notes:
If there are no changes to the workspace, "svn diff" doesn't fail:
a) svn revert -R .
b) svn diff




RE: svn diff on root folder (like d:\) crash on Windows

2013-11-13 Thread Bert Huijben
> -Original Message-
> From: Andrew Reedick [mailto:andrew.reed...@cbeyond.net]
> Sent: woensdag 13 november 2013 18:45
> To: Michel Archambault; users@subversion.apache.org
> Subject: RE: svn diff on root folder (like d:\) crash on Windows
> 
> > From: Michel Archambault [mailto:micj...@gmail.com]
> > Sent: Wednesday, November 13, 2013 12:25 PM
> > To: users@subversion.apache.org
> > Subject: svn diff on root folder (like d:\) crash on Windows
> >
> >
> >
> > Bug found on:
> > - Windows 7 64-bit
> > - svn 1.8.4
> > - Working copy in d:\ directly (not in a sub-folder like d:\MyTrunk\)
> >
> > Step:
> > In a command prompt do
> > cd /d d:\ & svn diff > C:\Validpath.patch
> > where d:\ is a working copy.
> >
> > What happen:
> > - a GPF (crash) of svn
> > - The file C:\Validpath.patch is created but empty (0 KB).
> >

Confirmed and patched on Subversion trunk in r1541635.

(There is no standard error report, because the error is that a function
gets into an infinite recursion)

Thanks for reporting,

Bert Huijben

> >
> > Previously work well in svn 1.7.x
> >
> >
> 
> Confirmed in 1.8.3 with Windows 7 32 bit.
>   svn, version 1.8.3 (r1516576)
>  compiled Aug 28 2013, 10:07:20 on x86-microsoft-windows
> 
> 0.  Start CMD.
> 1.  cd c:\
> 2.  svn co -N svn_url .
>   Don't forget the trailing dot.  Checkout a directory without any
files in
> it if you don't want to mess up your root dir.
> 3.  mkdir foo
> 4.  date > foo\a.txt
>   Hit return a few times to create the file.
> 5.  svn add foo
> 6.  svn diff
> 7.  Boom.  Specifically, from the event viewer:
> Faulting application name: svn.exe, version: 1.8.3.9248, time stamp:
> 0x521db045
> Faulting module name: libsvn_subr-1.dll, version: 1.8.3.9248, time stamp:
> 0x521dafbf
> Exception code: 0xc005
> Fault offset: 0x00089f57
> Faulting process id: 0xe468
> Faulting application start time: 0x01cee09787232137
> Faulting application path: C:\Program Files\Subversion\bin\svn.exe
> Faulting module path: C:\Program Files\Subversion\bin\libsvn_subr-1.dll
> Report Id: c4f9d99e-4c8a-11e3-a0b5-0021ccc90765
> 
> Notes:
> If there are no changes to the workspace, "svn diff" doesn't fail:
> a) svn revert -R .
> b) svn diff
> 




infinite recursive merging

2013-11-13 Thread nico
Hello dear SVN users,

I have a problem with the merging mecanism in SVN.

Here is a litttle case study:
We have 2 branches (B1, and B2) and the trunk (T), if you do the following:
commit -> Branch
merge B1 -> T
merge T -> B2  (to propagate the change)
Then if I look to which changes are eligible for merging from B2 to the
trunk, the T->B2 is eligible !!!

It shouldn't be the case, right ? because the merginfo should be able to
track it back to the already merged change from B1 ->T.

Am I right in my assumption ?
Can somebody explain me ?

thanks a lot,
nico

-- 
|_|0|_|
|_|_|0| Nicolas  HUOT
|0|0|0|