|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Ignoring foldersHow can I ignore folders with SmartSVN?
I don't want to use the svn:ignore-property, I want it done on my client. Ignoring files is as simple as listing it in the Project Settings -> Working Copy -> Global Ignores. And I actually can list *build* and *bin* there to ignore anything in or below folders named 'build' and 'bin'. But that will also ignore files containing those words (GUIbuilder.java, f.x). I have tried various combinations of */build/*, *\/build\/*, *build\* and so on, no-one seems to work. It also seems a bit unnecessary to require a 'Refresh' to update the view after modifying the ingore-list. M. ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/smartsvn/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/smartsvn/join (Yahoo! ID required) <*> To change settings via email: mailto:smartsvn-digest@... mailto:smartsvn-fullfeatured@... <*> To unsubscribe from this group, send an email to: smartsvn-unsubscribe@... <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
|
|
Re: Ignoring folders> I have tried various combinations of */build/*, *\/build\/*, *build\*
> and so on, no-one seems to work. Global ignores and svn:ignore-property only support simple patterns. AFAIK, something like "dir/" is not supported by SVN, unfortunately. So global ignores might not work for your situation (unless you can make sure that directory names to ignore are never used by files). -- Best regards, Marc Strapetz ============= syntevo GmbH http://www.syntevo.com http://blog.syntevo.com Martin Larsson <martin.larsson@...> wrote: > How can I ignore folders with SmartSVN? > > I don't want to use the svn:ignore-property, I want it done on my > client. Ignoring files is as simple as listing it in the > Project Settings -> Working Copy -> Global Ignores. And I actually can > list *build* and *bin* there to ignore anything in or below folders > named 'build' and 'bin'. But that will also ignore files containing > those words (GUIbuilder.java, f.x). > > I have tried various combinations of */build/*, *\/build\/*, *build\* > and so on, no-one seems to work. > > It also seems a bit unnecessary to require a 'Refresh' to update the > view after modifying the ingore-list. > > M. > > > > ------------------------------------ > > Yahoo! Groups Links > > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/smartsvn/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/smartsvn/join (Yahoo! ID required) <*> To change settings via email: mailto:smartsvn-digest@... mailto:smartsvn-fullfeatured@... <*> To unsubscribe from this group, send an email to: smartsvn-unsubscribe@... <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
|
|
Re: Ignoring foldersOn Mon, 2009-10-19 at 16:34 +0200, syntevo Support wrote:
> > Global ignores and svn:ignore-property only support simple patterns. > AFAIK, something like "dir/" is not supported by SVN, unfortunately. > So global ignores might not work for your situation (unless you can > make sure that directory names to ignore are never used by files). Though I understand what you're saying, it doesn't really make much sense. It seems the ignore-pattern uses simple pattern matching. Having a match for / or \ as well as letters should be relatively easy to do. M. ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/smartsvn/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/smartsvn/join (Yahoo! ID required) <*> To change settings via email: mailto:smartsvn-digest@... mailto:smartsvn-fullfeatured@... <*> To unsubscribe from this group, send an email to: smartsvn-unsubscribe@... <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
|
|
Re: Ignoring folders> Though I understand what you're saying, it doesn't really make much
> sense. It seems the ignore-pattern uses simple pattern matching. Having > a match for / or \ as well as letters should be relatively easy to do. I think what SmartSVN should not do is to interpret global-ignores section of the SVN's config-file differently than SVN does. However, I agree, that the patterns specified in the Project Settings could allow a more powerful syntax, like the one you are suggesting. Still this would require (significant) changes in the low-level SVNKit API. Counter question: Do actually have that many directories with the same name as files and doesn't it make sense to ignore them with the svn:ignore property, so other users have them ignored as well? -- Best regards, Marc Strapetz ============= syntevo GmbH http://www.syntevo.com http://blog.syntevo.com Martin Larsson <martin.liste.larsson@...> wrote: > On Mon, 2009-10-19 at 16:34 +0200, syntevo Support wrote: > > > > > Global ignores and svn:ignore-property only support simple patterns. > > AFAIK, something like "dir/" is not supported by SVN, unfortunately. > > So global ignores might not work for your situation (unless you can > > make sure that directory names to ignore are never used by files). > > Though I understand what you're saying, it doesn't really make much > sense. It seems the ignore-pattern uses simple pattern matching. Having > a match for / or \ as well as letters should be relatively easy to do. > > M. > > > > ------------------------------------ > > Yahoo! Groups Links > > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/smartsvn/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/smartsvn/join (Yahoo! ID required) <*> To change settings via email: mailto:smartsvn-digest@... mailto:smartsvn-fullfeatured@... <*> To unsubscribe from this group, send an email to: smartsvn-unsubscribe@... <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
|
|
Re: Ignoring foldersOn Tue, 2009-10-20 at 11:18 +0200, syntevo Support wrote:
> However, I agree, that the patterns specified in the Project Settings > could allow a more powerful syntax, like the one you are suggesting. > Still this would require (significant) changes in the low-level > SVNKit API. So you're saying that the filtering done there is not in your code? The string is just passed on to the underlying SVN-library? That's not the way the 'View'-menu works, right? Where I can select if unversioned files should be shown or not. > Counter question: Do actually have that many directories with the same > name as files and doesn't it make sense to ignore them with the > svn:ignore property, so other users have them ignored as well? This is a fairly large repository. It contains thousands of files and many hundred megabytes of code. I cannot guarantee that none of the files there matches 'bin' (from Eclipse) or 'build' (from ant) nor that any won't do so in the future. Actually ignoring the folders using svn:ignore, would probably be a good idea. But given that I'm on a team with ~10 others and the others doesn't have this problem, makes it a bit difficult to suggest. The rest of the team use the tortoise under Windows, while I'm on Ubuntu. Apparently, Tortoise has the feature to weed out unwanted folders in the client. M. ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/smartsvn/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/smartsvn/join (Yahoo! ID required) <*> To change settings via email: mailto:smartsvn-digest@... mailto:smartsvn-fullfeatured@... <*> To unsubscribe from this group, send an email to: smartsvn-unsubscribe@... <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
|
|
Re: Ignoring folders> So you're saying that the filtering done there is not in your code? The
> string is just passed on to the underlying SVN-library? My estimation of required effort was wrong, the SVNKit guys have already implemented this feature :) So for version 6.0.8 global ignores like "dir/" will match only directories. -- Best regards, Marc Strapetz ============= syntevo GmbH http://www.syntevo.com http://blog.syntevo.com Martin Larsson <martin.liste.larsson@...> wrote: > On Tue, 2009-10-20 at 11:18 +0200, syntevo Support wrote: > > > However, I agree, that the patterns specified in the Project Settings > > could allow a more powerful syntax, like the one you are suggesting. > > Still this would require (significant) changes in the low-level > > SVNKit API. > > So you're saying that the filtering done there is not in your code? The > string is just passed on to the underlying SVN-library? That's not the > way the 'View'-menu works, right? Where I can select if unversioned > files should be shown or not. > > > > Counter question: Do actually have that many directories with the same > > name as files and doesn't it make sense to ignore them with the > > svn:ignore property, so other users have them ignored as well? > > This is a fairly large repository. It contains thousands of files and > many hundred megabytes of code. I cannot guarantee that none of the > files there matches 'bin' (from Eclipse) or 'build' (from ant) nor that > any won't do so in the future. > > Actually ignoring the folders using svn:ignore, would probably be a good > idea. But given that I'm on a team with ~10 others and the others > doesn't have this problem, makes it a bit difficult to suggest. The rest > of the team use the tortoise under Windows, while I'm on Ubuntu. > Apparently, Tortoise has the feature to weed out unwanted folders in the > client. > > M. > > > > ------------------------------------ > > Yahoo! Groups Links > > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/smartsvn/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/smartsvn/join (Yahoo! ID required) <*> To change settings via email: mailto:smartsvn-digest@... mailto:smartsvn-fullfeatured@... <*> To unsubscribe from this group, send an email to: smartsvn-unsubscribe@... <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
| Free embeddable forum powered by Nabble | Forum Help |