You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by nick vajberg <ni...@yahoo.dk> on 2004/03/04 18:50:04 UTC
Issues with the .svn directories
I sent the mail below before, but it didn't get
through, so i'll try again.
-------------------------------------------------
I'm getting more and more annoyed having the
.svn maintainance directories around. I know this has
been discussed back and forth before, but I still feel
I have to "file a complaint"...
This is why:
1. We currently have to use a special build of the
TortoiseSVN because we use VS.NET. That build use _svn
rather than .svn. Big problem: we still have to use
the svn command line client for advanced stuff -
meaning we have to rename directories when switching
between clients (ouch!) Also, VS.NET is not the only
ill-written Windows application having problems with
this.
2. It consumes a lot of disk space having that many
files and directories. The file overhead in NTFS is
huge. Makes our file/directory maintenance tools run
slower (e.g. we have a daily disk-to-NAS backup - and
boy, is it slow)
3. It makes two of our IDE's grumpy. The .svn shows up
in the file listings. We have turned on the "hidden"
flag, but RealJ still sees them (why ?!) Also, the
Java "package-view" crashes in JBuilder. IntelliJ can
filter them nicely, though. Any experiences with
Netbeans/Eclipse, anyone?
4. Our homegrown ANT JavaDoc processor fails; I guess
because it expects source directories to contain only
directories containing java files. I haven't found a
workaround other than doing a clean SVN export :-( We
can fix it, but why should a tool expect junk to
suddently appear in the source directories? Our UML
reengineering tools fails for the same reason (which
is NOT developed by us)
5. ...
6. It slows down TortoiseSVN because it uses icon
overlays and has to scan more files. Not your problem,
really, but still...
7. It makes grep'ing, etc harder; ~50% redundant hits
(we can filter in Windows Grep but it's very
inconvenient in general). Windows' search function
also returns redundant hits. In general, it makes it
inconvenient to use a lot of "sharp" tools; often one
or more extra switches is needed or we need to do a
clean export.
I always hated CVS for doing things this way.
Suggestion for SVN 1.x: Move the maintenance stuff in
a separate place and store it in a compact form -
perhaps even compressed. Having text/xml files was
probably nice while developing SVN (easy debugging),
but I see no reason why the WC api couldn't handle a
more sane organization of the maintenance data.
I'm not suggestion a local Berkeley database or
anything, but a more compact format _outside_ our
project file structure!
---
Still in love with Subversion
Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og virusscan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Issues with the .svn directories
Posted by John Peacock <jp...@rowman.com>.
nick vajberg wrote:
> Suggestion for SVN 1.x: Move the maintenance stuff in
> a separate place and store it in a compact form -
> perhaps even compressed. Having text/xml files was
> probably nice while developing SVN (easy debugging),
> but I see no reason why the WC api couldn't handle a
> more sane organization of the maintenance data.
One other possibility (though I haven't tried to do this yet) is to use svk on
Windows, since the WC's do not contain a .svn directory with textbase (in other
words they look like ordinary directories).
The problems to overcome are numerous, however:
1) The SWIG Perl bindings must work under Win32 (which I don't know if they do);
2) You will have to have a local repository on each machine (so you still have
some [possibly] significant disk storage);
3) At least now, svk is only available as a commandline utility.
John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Issues with the .svn directories
Posted by Alvin Thompson <al...@thompsonlogic.com>.
hey, if you cut through the whining there's actually a couple of good
ideas in here!
i especially like the concept of compressing the .svn directory; that
should be easy to implement and solve many things right there.
-alvin
nick vajberg wrote:
> I sent the mail below before, but it didn't get
> through, so i'll try again.
> -------------------------------------------------
>
> I'm getting more and more annoyed having the
> .svn maintainance directories around. I know this has
> been discussed back and forth before, but I still feel
> I have to "file a complaint"...
>
> This is why:
>
> 1. We currently have to use a special build of the
> TortoiseSVN because we use VS.NET. That build use _svn
> rather than .svn. Big problem: we still have to use
> the svn command line client for advanced stuff -
> meaning we have to rename directories when switching
> between clients (ouch!) Also, VS.NET is not the only
> ill-written Windows application having problems with
> this.
>
> 2. It consumes a lot of disk space having that many
> files and directories. The file overhead in NTFS is
> huge. Makes our file/directory maintenance tools run
> slower (e.g. we have a daily disk-to-NAS backup - and
> boy, is it slow)
>
> 3. It makes two of our IDE's grumpy. The .svn shows up
> in the file listings. We have turned on the "hidden"
> flag, but RealJ still sees them (why ?!) Also, the
> Java "package-view" crashes in JBuilder. IntelliJ can
> filter them nicely, though. Any experiences with
> Netbeans/Eclipse, anyone?
>
> 4. Our homegrown ANT JavaDoc processor fails; I guess
> because it expects source directories to contain only
> directories containing java files. I haven't found a
> workaround other than doing a clean SVN export :-( We
> can fix it, but why should a tool expect junk to
> suddently appear in the source directories? Our UML
> reengineering tools fails for the same reason (which
> is NOT developed by us)
>
> 5. ...
> 6. It slows down TortoiseSVN because it uses icon
> overlays and has to scan more files. Not your problem,
> really, but still...
>
> 7. It makes grep'ing, etc harder; ~50% redundant hits
> (we can filter in Windows Grep but it's very
> inconvenient in general). Windows' search function
> also returns redundant hits. In general, it makes it
> inconvenient to use a lot of "sharp" tools; often one
> or more extra switches is needed or we need to do a
> clean export.
>
> I always hated CVS for doing things this way.
>
> Suggestion for SVN 1.x: Move the maintenance stuff in
> a separate place and store it in a compact form -
> perhaps even compressed. Having text/xml files was
> probably nice while developing SVN (easy debugging),
> but I see no reason why the WC api couldn't handle a
> more sane organization of the maintenance data.
>
> I'm not suggestion a local Berkeley database or
> anything, but a more compact format _outside_ our
> project file structure!
>
> ---
> Still in love with Subversion
>
>
>
> Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og virusscan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
--
Alvin Thompson
Navy: 34
Army: 6
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Issues with the .svn directories
Posted by nick vajberg <ni...@yahoo.dk>.
--- kfogel@collab.net skrev: > nick vajberg
<ni...@yahoo.dk> writes:
> I hope all this doesn't come off as "talk to the
> hand". I understand
> how annoying these problems are. It's just that: so
> is lack of reserved checkouts (locking), so is lack
> of merge history tracking, s is...
>
> You get the idea.
Yes, I get the idea. The only annoying things about
Subversion, to me, is actually the ".svn" directories
and locking. In fact, I think locking is actually more
important to us than fixing the .svn problem.
Subversion is still a fantastic piece of software, and
we have come to trust it so much that we have thrown
away all other SCM products for good... err, well, we
still keep the bloody Visual SourceSafe product to
handle concurrent access to Word and UML files. It
gets corrupted at least twice a month, so it's not
like we're happy with it... :-(
Best,
nick
Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og virusscan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Issues with the .svn directories
Posted by kf...@collab.net.
nick vajberg <ni...@yahoo.dk> writes:
> I'm getting more and more annoyed having the
> .svn maintainance directories around. I know this has
> been discussed back and forth before, but I still feel
> I have to "file a complaint"...
Sorry it's causing you problems. We can't predict when they will get
solved; there are a lot of things to do, we can't solve everything at
once.
Consider the complaint filed. If you understand (and perhaps you do)
how difficult some of these proposals are to implement, then you'll
understand why you're not making the headway you want.
(Fixing, or offering an option to fix, the ".svn" vs "_svn" problem
maybe isn't so hard, we should probably reexamine it at least for 1.1.
But don't quote me on that yet. :-) ).
I hope all this doesn't come off as "talk to the hand". I understand
how annoying these problems are. It's just that: so is lack of
reserved checkouts (locking), so is lack of merge history tracking, so
is...
You get the idea.
Best,
-Karl
> This is why: . We currently have to use a special build of the
> TortoiseSVN because we use VS.NET. That build use _svn
> rather than .svn. Big problem: we still have to use
> the svn command line client for advanced stuff -
> meaning we have to rename directories when switching
> between clients (ouch!) Also, VS.NET is not the only
> ill-written Windows application having problems with
> this.
>
> 2. It consumes a lot of disk space having that many
> files and directories. The file overhead in NTFS is
> huge. Makes our file/directory maintenance tools run
> slower (e.g. we have a daily disk-to-NAS backup - and
> boy, is it slow)
>
> 3. It makes two of our IDE's grumpy. The .svn shows up
> in the file listings. We have turned on the "hidden"
> flag, but RealJ still sees them (why ?!) Also, the
> Java "package-view" crashes in JBuilder. IntelliJ can
> filter them nicely, though. Any experiences with
> Netbeans/Eclipse, anyone?
>
> 4. Our homegrown ANT JavaDoc processor fails; I guess
> because it expects source directories to contain only
> directories containing java files. I haven't found a
> workaround other than doing a clean SVN export :-( We
> can fix it, but why should a tool expect junk to
> suddently appear in the source directories? Our UML
> reengineering tools fails for the same reason (which
> is NOT developed by us)
>
> 5. ...
> 6. It slows down TortoiseSVN because it uses icon
> overlays and has to scan more files. Not your problem,
> really, but still...
>
> 7. It makes grep'ing, etc harder; ~50% redundant hits
> (we can filter in Windows Grep but it's very
> inconvenient in general). Windows' search function
> also returns redundant hits. In general, it makes it
> inconvenient to use a lot of "sharp" tools; often one
> or more extra switches is needed or we need to do a
> clean export.
>
> I always hated CVS for doing things this way.
>
> Suggestion for SVN 1.x: Move the maintenance stuff in
> a separate place and store it in a compact form -
> perhaps even compressed. Having text/xml files was
> probably nice while developing SVN (easy debugging),
> but I see no reason why the WC api couldn't handle a
> more sane organization of the maintenance data.
>
> I'm not suggestion a local Berkeley database or
> anything, but a more compact format _outside_ our
> project file structure!
>
> ---
> Still in love with Subversion
>
>
>
> Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og virusscan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Issues with the .svn directories
Posted by nick vajberg <ni...@yahoo.dk>.
--- Stephen Peters <po...@portnoy.org> skrev: >
nick vajberg <ni...@yahoo.dk> writes:
>
> Although I understand most of the problems you
> mention, this strikes me as odd. I believe that
> the Ant directory processor is configured
> (at least in ant 1.5.3, probably earlier as well) to
> include **/.svn/* in its list of defaultexcludes,
> so this shouldn't be a problem as long as your
> home-grown task respects the defaultexcludes.
IIRC it doesn't respect defaultexcludes because the
task implementation simply kickstarts a separate
process that scans from a base source directory and
assumes everything in there are java source files.
Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og virusscan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Issues with the .svn directories
Posted by Stephen Peters <po...@portnoy.org>.
nick vajberg <ni...@yahoo.dk> writes:
> 4. Our homegrown ANT JavaDoc processor fails; I guess because it
> expects source directories to contain only directories containing
> java files. I haven't found a workaround other than doing a clean
> SVN export :-( We can fix it, but why should a tool expect junk to
> suddently appear in the source directories? Our UML reengineering
> tools fails for the same reason (which is NOT developed by us)
Although I understand most of the problems you mention, this strikes
me as odd. I believe that the Ant directory processor is configured
(at least in ant 1.5.3, probably earlier as well) to include **/.svn/*
in its list of defaultexcludes, so this shouldn't be a problem as long
as your home-grown task respects the defaultexcludes.
--
Stephen L. Peters portnoy@portnoy.org
GPG fingerprint: A1BF 5A81 03E7 47CE 71E0 3BD4 8DA6 9268 5BB6 4BBE
"Poodle: The other white meat." -- Sherman, Sherman's Lagoon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Issues with the .svn directories
Posted by Dominic Anello <da...@danky.com>.
On 2004-03-04 19:50:04 +0100, nick vajberg wrote:
----8<----
> 3. It makes two of our IDE's grumpy. The .svn shows up
> in the file listings. We have turned on the "hidden"
> flag, but RealJ still sees them (why ?!) Also, the
> Java "package-view" crashes in JBuilder. IntelliJ can
> filter them nicely, though. Any experiences with
> Netbeans/Eclipse, anyone?
Eclipse works great here. You always have the option of adding
a **/.svn/** filter to your sources list, but I haven't found this
necessary.
> 4. Our homegrown ANT JavaDoc processor fails; I guess
> because it expects source directories to contain only
> directories containing java files. I haven't found a
> workaround other than doing a clean SVN export :-( We
> can fix it, but why should a tool expect junk to
> suddently appear in the source directories? Our UML
> reengineering tools fails for the same reason (which
> is NOT developed by us)
All the standard ant tasks seem to play fine with the .svn directories.
It hadn't even occurred to me that they might be a problem. Can't you
add an <exclude> filter to your ant target?
> 5. ...
> 6. It slows down TortoiseSVN because it uses icon
> overlays and has to scan more files. Not your problem,
> really, but still...
----8<----
Have you tried unchecking the "Indicate folders with changed contents"
option? That can really slow TSVN down.
-Dominic
Re: Issues with the .svn directories
Posted by Harold Tessmann III <ma...@umich.edu>.
At 7:50 PM +0100 3-4-2004, nick vajberg typed something vaguely similar to:
>I'm getting more and more annoyed having the
>.svn maintainance directories around. I know this has
>been discussed back and forth before, but I still feel
>I have to "file a complaint"...
Just a few suggestions/comments on workarounds or fixes, as I am not
a subversion developer...
>This is why:
>
>1. We currently have to use a special build of the
>TortoiseSVN because we use VS.NET. That build use _svn
>rather than .svn. Big problem: we still have to use
>the svn command line client for advanced stuff -
>meaning we have to rename directories when switching
>between clients (ouch!)
Wouldn't it be easier to build a custom version of the command-line
client that works with the _svn directories?
<snip>
>4. Our homegrown ANT JavaDoc processor fails; I guess
>because it expects source directories to contain only
>directories containing java files. I haven't found a
>workaround other than doing a clean SVN export :-( We
>can fix it, but why should a tool expect junk to
>suddently appear in the source directories?
Why not change the program to exclude .svn or _svn directories?
Wouldn't you have the same problem with CVS working copies?
Harold
--
Harold Tessmann III Wandering Programmer
(I handle simian sort) macmog@umich.edu
Breach hull, all die. Even had it underlined. -- Crow T. Robot
You can never plan the future by the past. -- Fred Brooks
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org