2008/11/24 Jan Hauke Rahm <[EMAIL PROTECTED]>:
> On Mon, Nov 24, 2008 at 04:13:12PM +0200, Eddy Petrișor wrote:
>> # OOOOK, I am starting to look stupid
> Even more if you look at the bug report via the web interface. I set
> the bug "confirmed" after my first mail... :)
>
>> IIRC, dpkg now ignores such files by default.
>
> I don't think, this is related to our bug...
>
>> I am starting to think of some possible causes:
>> 1) svn 1.5.5 ignores .* files - easily checked

I meant 1.5.x.

On svn 1.4.2 I tested initially (etch), but sid's is not doing the same thing.

> You got 1.5.5? I have 1.5.1.

No, 1.5.1, too


And it seems that's the case:
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/libmodule-scandeps-perl# svn st 
--no-ignore
I      lib/Module/.hidden.swp
I      lib/Module/.ScanDeps.pm.swp
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/libmodule-scandeps-perl# mv
lib/Module/.hidden{.swp,}
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/libmodule-scandeps-perl# svn st 
--no-ignore
I      lib/Module/.ScanDeps.pm.swp
?      lib/Module/.hidden

It ignores .*.swp files


>> 2) dpkg filters that junk out
>
> No, I don't think so.

there were some recent additions to dpkg that filter out VCS meta data,
I wouldn't be surprised if it filtered vim meta files, too.

>> 3) SVN::Client is ignoring those
>
> That would be possible... :-/
>
> As you can see one of your previous mails:
> ,----
> |  svn merge
> | 
> file:///home/eddy/usr/src/perso/svn-buildpackage/svn-bp-tests/su-ignores-files-504233/tmp/repo/libmodule-scandeps-perl/branches/upstream/0.84
> | <2 more arguments>
> | A    t/13-static_prefork_test.t
> | U    script/scandeps.pl
> | U    AUTHORS
> | U    MANIFEST
> | U    META.yml
> | A    lib/Module/.ScanDeps.pm.swp
> | U    lib/Module/ScanDeps.pm
> | U    Changes
> | U    inc/Module/Install.pm
> | U    inc/Module/Install/Fetch.pm
> | U    inc/Module/Install/Base.pm
> | U    inc/Module/Install/Makefile.pm
> | U    inc/Module/Install/Metadata.pm
> | U    inc/Module/Install/Can.pm
> | U    inc/Module/Install/Win32.pm
> | U    inc/Module/Install/WriteAll.pm
> `----
>
> There is something different happening to lib/Module/.ScanDeps.pm.swp
> and t/13-static_prefork_test.t. If you put a
>
>    svn status $tmpdir/upsCurDir/lib/Module/.ScanDeps.pm.swp
>
> in SDcommon.pm as one of the last lines in the load_dirs sub, you will
> see that the file is ignored. I was not able to debug that code in order
> to find where this actually happens.

svn status --no-ignore shows the file.

> The other file mentioned above was in one of those %tmp or whatever vars
> for some reason I didn't find yet.

Which other file? I am sorry, I am not following you.

> Just insert some dbg code (like "use Data::Dumper; print Dumper(%tmp)")
> there in try to see what I'm talking about in weird, imprecise words...

Is svn's fault, it ignores such files by default:

[EMAIL PROTECTED]:/tmp/504233_sid_chroot# mkdir repo2
[EMAIL PROTECTED]:/tmp/504233_sid_chroot# svnadmin create repo2
[EMAIL PROTECTED]:/tmp/504233_sid_chroot# mkdir repo2-i
[EMAIL PROTECTED]:/tmp/504233_sid_chroot# cd repo2-i/
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/repo2-i# touch somefile
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/repo2-i# mkdir somedir
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/repo2-i# mv somefile somedir/
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/repo2-i# svn import somedir
file:///tmp/504233_sid_chroot/repo2/trunk
Adding         somedir/somefile

Committed revision 1.
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/repo2-i# svn st
svn: warning: '.' is not a working copy
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/repo2-i# cd ../
[EMAIL PROTECTED]:/tmp/504233_sid_chroot# svn co
file:///tmp/504233_sid_chroot/repo2/trunk repo2-wc
A    repo2-wc/somefile
Checked out revision 1.
[EMAIL PROTECTED]:/tmp/504233_sid_chroot# cd repo2-wc/
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/repo2-wc# ls
somefile
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/repo2-wc# touch .hidden
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/repo2-wc# touch .somefile.swp
[EMAIL PROTECTED]:/tmp/504233_sid_chroot/repo2-wc# svn st
?      .hidden



I am not sure what we should do. it seems that only vim's swap files
are ignored, but I don't know if there are any other files which are
ignored by default.


-- 
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein

Reply via email to