You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ronny Haryanto <ro...@miro.com.au> on 2006/06/13 22:56:38 UTC

ignoring(?) a directory that is still under version control

Hello everyone,

I have a non-empty sub-directory (let's call it "templates") inside my
main project directory that I would like to keep inside version
control.

When working with a checked out local copy, the content of the files
inside the "templates" change frequently, and new files will be
created in it, too. I would like to ignore the changes and
additions/deletions inside that "templates" sub-directory so that I do
not accidentally commit changes to existing templates.

The reason I would like to keep "templates" under version control is
that I still want to be able to keep track of changes in that
sub-directory even though they happen very rarely.

Currently I set svn:ignore property to * for the "templates"
sub-directory, it seems to be working, but I'm not sure if there's
potentially any negative side effects that I have not realised.

What would be the best way to approach this?

Cheers,
Ronny

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: ignoring(?) a directory that is still under version control

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 14, 2006, at 00:56, Ronny Haryanto wrote:

> I have a non-empty sub-directory (let's call it "templates") inside my
> main project directory that I would like to keep inside version
> control.
>
> When working with a checked out local copy, the content of the files
> inside the "templates" change frequently, and new files will be
> created in it, too. I would like to ignore the changes and
> additions/deletions inside that "templates" sub-directory so that I do
> not accidentally commit changes to existing templates.
>
> The reason I would like to keep "templates" under version control is
> that I still want to be able to keep track of changes in that
> sub-directory even though they happen very rarely.
>
> Currently I set svn:ignore property to * for the "templates"
> sub-directory, it seems to be working, but I'm not sure if there's
> potentially any negative side effects that I have not realised.
>
> What would be the best way to approach this?

That sounds like exactly the best way to approach it. :-) I'm sure  
I've done that a few times already and it works just as it should.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org