[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Feature request: tag ignored files as "hidden" (optionally)

From: Stefan Kng <tortoisesvn_at_gmail.com>
Date: 2006-09-25 21:17:42 CEST

Joachim Lous wrote:
> I would like to suggest an option for auto-aplying the windows "hidden"
> attribute to all ignored files.
> I understand (well, at least respect), the reluctance to add another
> overlay, as per the FAQ. Yet I also sorely miss some way of seeing at
> a glance the difference between ignored and unverisoned files. To me
> the former has beed "processed", while the latter remains a
> "TODO"-item until it has been either added, ignored, or removed.

Just enable the status column in detailed view in explorer. Then you can
sort by file status, and you can see all ignored and unversioned items

> I therefore propose an alternative apporach, which does not use any
> extra overlay slots, but rather windows' built-in hidden-attribute,
> which for most of us just means the the icons in question will be
> "dimmed".

It's not just dimmed, but hidden. Yes, explorer shows it dimmed if the
corresponding setting is enabled. But other applications don't have that
option and can't even see those files. For example, the shell (cmd.exe)
doesn't copy or move hidden files, even if you do e.g.
copy folder/*.* folder2

So it's not just a way to make the file show dimmed in explorer - this
has consequences way outside explorer.

> Even if slots were not an issue, I think this approach is actually a
> better solution than the overlay for "unversioned" that many have
> suggested; It communicates more intuitively, and exploits the windows
> shell better:
> * When visible, hidden files appear dimmed, which corresponds well to
> the function of ignore-lists
> * No extra overlay slot is used
> * You can use the standard windows method to choose whether or not
> to see these hidden files (switching between them may be desirable)
> * Unversioned, unignored files will be the _only_ ones in a versioned foled
> with a regular windows look, which reflects their status as "raw"
> in the eyes of SVN, and should probabaly be added, deleted or ignored.
> I realise of course that this would be problematic for some:
> * ignored files would then look indistinguishable from regular hidden
> files.
> * Some developers might want to have regular hidden files invisible,
> yet see the ignored ones.
> * Some projects might use the hidden-attribute actively, and don't want
> any interference from SVN.
> Any such functionality should therefore be optional, and off by default.
> Hope someone will consider this.
> BTW, I am not subscribed, should anyone want to reach me for whatever
> reason.

If you really have such a big problems with unversioned and ignored
files, then you don't have a 'clean' working copy layout. My guess is
that you have configured your compiler/tool/whatever to output
temporary/intermediate files *inside* your versioned folders. That's a
very bad idea. Just configure your tools so that generated files are put
into an unversioned folder (use the TSVN project as an example if you like).


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Sep 25 21:17:56 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.