Re: [Projects] support of -N option in VCS

On 2006-05-10, Nicolas Pouillard <nicolas.pouillard@gmail.com> wrote:
On 5/11/06, Tsuna <tsuna@warszawa.lrde.epita.fr> wrote:
On 2006-05-10, Nicolas Pouillard <nicolas.pouillard@gmail.com> wrote:
On 5/10/06, Tsuna <tsuna@warszawa.lrde.epita.fr> wrote:
Cool thanks for the reply :) Is it possible to exclude ``.*.sw?'' in ~/.vcs ?
Yes but if you want talk about vim files toto.swp toto.swo this regexp will works better: \.sw.$
ok if it's a perl-like (or ruby-like) regexp, shouldn't it be \..*\.sw. ?
It's a ruby regexp (so almost like a perl one).
Don't forget the $ to anchor the end of the filename: \..*\.sw.$
For some reason it won't work :/ $ cat ~/.vcs exclude: - Makefile.in - \..*\.sw.$ $ svn st + +committed ? src/tools/.pp-prism.str.swp it's weird since it works for the Makefile.in moreover, if it's a real ruby regexp, shouldn't I have: exclude: - Makefile\.in instead? any idea? -- SIGOURE Benoit aka Tsuna _____ /EPITA\ Promo 2008.CSI Rock & tRoll

On 5/11/06, Tsuna <tsuna@warszawa.lrde.epita.fr> wrote:
On 2006-05-10, Nicolas Pouillard <nicolas.pouillard@gmail.com> wrote:
On 5/11/06, Tsuna <tsuna@warszawa.lrde.epita.fr> wrote:
On 2006-05-10, Nicolas Pouillard <nicolas.pouillard@gmail.com> wrote:
On 5/10/06, Tsuna <tsuna@warszawa.lrde.epita.fr> wrote:
Cool thanks for the reply :) Is it possible to exclude ``.*.sw?'' in ~/.vcs ?
Yes but if you want talk about vim files toto.swp toto.swo this regexp will works better: \.sw.$
ok if it's a perl-like (or ruby-like) regexp, shouldn't it be \..*\.sw. ?
It's a ruby regexp (so almost like a perl one).
Don't forget the $ to anchor the end of the filename: \..*\.sw.$
For some reason it won't work :/ $ cat ~/.vcs exclude: - Makefile.in - \..*\.sw.$ $ svn st + +committed ? src/tools/.pp-prism.str.swp
it's weird since it works for the Makefile.in moreover, if it's a real ruby regexp, shouldn't I have: exclude: - Makefile\.in instead?
any idea?
By default the type is a plain string not a regexp, one use "!re" to specify the type in Yaml: exclude: - Makefile.in # and not Makefile\.in - !re ^\..*\.sw.$ BTW please fix your from address (Tsuna <tsuna@**warszawa**.lrde.epita.fr>). -- Nicolas Pouillard aka Ertai <ertai@feydakins.org> http://uttk.org Uttk -- Unified Test Tool Kit
participants (2)
-
Nicolas Pouillard
-
Tsuna