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

RE: Local lock, is it possible?

From: <nicklist_at_planet.nl>
Date: Tue, 5 Feb 2008 19:42:47 +0100

I've got multiple working copies, one for daily work, one for deployments, etc and each WC contains multiple files with the same name. So, no global ignores, unfortunately. I was specifically searching for something local to your working copy.

Hmm, I've got a solution, but don't try this at home or at all!

remove the .svn/text-base/<file-name>.svn-base
create a softlink from the original file to the .svn/text-base/<file-name>.svn-base file.
It won't show up in svn stat anymore.

(I know, this is going to bite me sometimes in the future... but it works for now ;) )

With regards,

Nick Stolwijk

-----Original Message-----
From: Jeremiah van Oosten [mailto:jpvanoosten_at_hotmail.com]
Sent: Tue 2/5/2008 6:49 PM
To: 'Andy Levy'; nicklist_at_planet.nl
Cc: users_at_subversion.tigris.org
Subject: RE: Local lock, is it possible?
 
Why don't you add the file to your local ignore list?
Add the file to the "global-ignores" property in the local user's "config"
file (on Windows, this is located at <Documents and
Settings>\<user>\Application Data\Subversion\config

For *nix systems, I don't know off the top of my head, but probably
something like /home/<user>/Subversion/config ?

Regards,

Jeremiah

-----Original Message-----
From: Andy Levy [mailto:andy.levy_at_gmail.com]
Sent: Tuesday, February 05, 2008 6:37 PM
To: nicklist_at_planet.nl
Cc: users_at_subversion.tigris.org
Subject: Re: Local lock, is it possible?

On Feb 5, 2008 12:26 PM, <nicklist_at_planet.nl> wrote:
>
> We have some settings files for all developers, which are checked in into
> Subversion. In my working copy I changed some of these, so locally the
file
> is modified. However, on a Subversion check in I don't want this file to
be
> automatically checked in. (I know, watch out, but accidents happen ;) )
The
> preferred way would be a sample settings file, which is to be copied, but
I
> don't want to burden the other developers with this.
>
> Is there a way to accomplish this locally?

You can explicitly tell your SVN client which files/directories to
commit, skipping over this "template" file. But that's open to lots of
potential for error.

I don't see what's "burdensome" about
http://subversion.tigris.org/faq.html#ignore-commit (assuming that's
what you're referring to as the "preferred way").

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-05 19:43:21 CET

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.