Re: Re: "Retrieve Revision as..." default file name

Jens Miltner <[email protected]>
Newsgroups gmane.comp.version-control.cvs.gui.devel
Message-ID <[email protected]>
Am 15.12.2003 um 17:44 schrieb kaczoroj:

> Jens,
>
>>> So the effect would be something like that:
>>> .#1.3.45.foo.cpp
>>
>> That will make the file invisible on Unix-flavored
>> operating systems, where files starting with a 'dot'
>> are considered 'hidden', i.e. only visible if the user
>> chooses to see all the clutter.
>
> Which is actually a *good* thing! After all the CVS backup files start
> with dots for a reason and both those backup files and our retrieved
> files are essentially clutter. E.g. you don't want them to
> accidentally get checked in. For that reason the .#* wildcard is in
> the default CVS ignore list.
>
> To address the Oliver's concerns we should actually add the .bak
> suffix and we're done (yes, I know that's not what you had in mind ;),
> so the example would look like that:
>
> .#1.3.45.foo.cpp.bak
>
> It's got prety good shape now. Not only it follows the CVS convention
> but at the same time avoids potential conflicts with CVS backup files,
> escapes the grep-ing on Unixy OS's, sails safely off the file-hungry
> Java compiler, file-hungry "cvs add *.*" command and file-hungry
> search in files in Visual Studio.

Yeah, but we're talking about "Retrieve Revision" here, right? What use 
is "Retrieve Revision" if the retrieved file tries to go out of the 
user's way as far as possible? After all, the user chose "Retrieve 
Revision [As...]" to _get_ that file, right?
e.g. on Mac OS X, the only way to get access to a file whose name 
starts with a dot is through terminal (i.e. the command line). There is 
just no way you'll ever see a "." file in Finder (Windows users read: 
"Explorer" )...
If it's gonna hidden that hard, I won't even bother implementing the 
"Retrieve Revision" command ;-)

If, OTOH, you're talking about the backup file cvs creates when moving 
a modified file out of the way, I agree that it's not all _that_ bad if 
the file is hidden pretty good. (after all, that's the standard cvs 
behavior and Mac users will just have to go hunting the darn thing if 
they want to retrieve the backup ;-)

</jum>


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/NhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.