Syncro SVN Client

How to ignore files?

Having trouble installing Syncro SVN Client? Got a bug to report? Post it all here.

How to ignore files?

Postby steward » Thu May 28, 2009 8:24 pm

Newbie just getting started.

(1)
In the working copy, right-click menu, the "Add to svn:ignore" option is never enabled for any file or folder.

What is the trick please?

(2)
Does the configuration file accept multiple "global-ignores" lines?
I guess I can add them in that fashion.

I am more concerned with retaining the project structure but expluding the transient content, eg

global-ignore = /my/long/and/tedious/path/to/images/*.*
global-ignore = /my/long/and/tedious/path/to/videos/*.*
global-ignore = /my/long/and/tedious/path/to/logs/*.*
steward
 
Posts: 1
Joined: Thu May 28, 2009 8:17 pm

Re: How to ignore files?

Postby sorin » Fri May 29, 2009 10:58 am

Hello,

steward wrote:In the working copy, right-click menu, the "Add to svn:ignore" option is never enabled for any file or folder.

What is the trick please?


Only unversioned (not added to repository) files or folders can be added to svn:ignore property.

steward wrote:Does the configuration file accept multiple "global-ignores" lines?

...

global-ignore = /my/long/and/tedious/path/to/images/*.*
global-ignore = /my/long/and/tedious/path/to/videos/*.*
global-ignore = /my/long/and/tedious/path/to/logs/*.*


The property global-ignores contains file patterns, not paths of folders and files, for example:

Code: Select all
global-ignores = *.o *.lib *.so


The option Application global ignores that is available from menu Options -> Preferences -> SVN works in the same way, that is you must specify file patterns, not file paths.


Regards,
Sorin
sorin
 
Posts: 171
Joined: Tue Feb 13, 2007 3:45 pm


Return to Common Problems

Who is online

Users browsing this forum: No registered users and 5 guests

cron

© 2002-2013 SyncRO Soft Ltd. All rights reserved. | Sitemap | Terms of Use | Privacy Policy | This website was created & generated with <oXygen/>® XML Editor