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

Re: Conflict file naming

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-05 23:56:14 CET

On Jan 5, 2006, at 21:32, Karl Fogel wrote:
> Well, how about just always putting the Subversion portion *after* the
> first component?
>
> A "component" is everything from the start of the filename to the
> first dot (or the end of the name, if it has no dots). The
> Subversion-inserted portion ".FOO" would go immediately after the
> first component, always.

On Jan 5, 2006, at 22:27, Kris Deugau wrote:
> (I sometimes use a dot instead of a dash, underscore, or (shudder)
> space
> as a logical separator in my filenames. For the purposes of this
> discussion, however, I can't think of any cases where I'd have such a
> file - they're usually one-off files in odd places and often don't
> last
> very long.)

Guess how every file in one of our projects is named. :-)

tpl.contact.result.window.php
tpl.form.user_search.php
tpl.form_product_search.php
tpl.product_search.result.php
tpl.result.nav.php
tpl.result.user_search.php
tpl.search.quick.php
tpl.search.quick.window.php
tpl.search_employee.detail.php
tpl.search_employee.form.php
tpl.search_employee.form_quick.php
tpl.search_employee.result_normal.php
tpl.search_employee.result_selectable.php

And so on. Not my decision to go with this naming convention, but
we're hardly going to change it now.

$ find . -type f -name 'tpl.*' -not -regex '.*/\.svn/.*' | wc -l
257

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 6 00:49:52 2006

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

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