On 2006-05-11, Nicolas Pouillard <nicolas.pouillard(a)gmail.com> wrote:
> On 5/11/06, Tsuna <tsuna(a)warszawa.lrde.epita.fr> wrote:
>> On 2006-05-10, Nicolas Pouillard <nicolas.pouillard(a)gmail.com> wrote:
>> > On 5/11/06, Tsuna <tsuna(a)warszawa.lrde.epita.fr> wrote:
>> >> On 2006-05-10, Nicolas Pouillard <nicolas.pouillard(a)gmail.com> wrote:
>> >> > On 5/10/06, Tsuna <tsuna(a)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(a)**warszawa**.lrde.epita.fr>).
>
Done :)
Thank you very much for your support!
--
SIGOURE Benoit aka Tsuna
_____
/EPITA\ Promo 2008.CSI Rock & tRoll
On 2006-05-10, Nicolas Pouillard <nicolas.pouillard(a)gmail.com> wrote:
> On 5/11/06, Tsuna <tsuna(a)warszawa.lrde.epita.fr> wrote:
>> On 2006-05-10, Nicolas Pouillard <nicolas.pouillard(a)gmail.com> wrote:
>> > On 5/10/06, Tsuna <tsuna(a)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 2006-05-10, Nicolas Pouillard <nicolas.pouillard(a)gmail.com> wrote:
> On 5/10/06, Tsuna <tsuna(a)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.
?
--
SIGOURE Benoit aka Tsuna
_____
/EPITA\ Promo 2008.CSI Rock & tRoll
On 2006-05-09, Nicolas Pouillard <nicolas.pouillard(a)gmail.com> wrote:
> On 5/10/06, Tsuna <tsuna(a)warszawa.lrde.epita.fr> wrote:
>> On 2006-05-08, Nicolas Pouillard <nicolas.pouillard(a)gmail.com> wrote:
>> > On 5/9/06, Tsuna <tsuna(a)warszawa.lrde.epita.fr> wrote:
>> >> Hi,
>> >> vcs doesn't seem to support svn's option -N
>> >
>> > Vcs supports it!
>> >
>
> [...]
>
>> I know this is a "feature" of VCS. But I'm telling it not to recurse in this
>> directory so ... what the hell?
>
> The hell is this rule that is here to prevent you against incomplete
> patches due to missing files.
>
>> It's a bit borring to add all the files generated by the autotools in the
>> ignore list...
>
> Boring, perhaps but there is already many things to help you.
>
> - svn supports globbing inside svn:keyword so you can add Makefile.in
> recursively to all directories.
> - moreover svn support auto keywording: in your configuration file you
> can say that by default you ignore Makefile.in
>
>> maybe VCS should help by knowing that this particular file is
>> generated by auto* and thus ignore it (maybe also display a notice to let the
>> user know this file was ignored for such reasons)
>
> - Vcs can also *already* do that:
>
> --8<----------------------------------------
> # ~/.vcs configuration extract
> exclude:
> - Makefile.in
> --8<----------------------------------------
>
> Best regards,
>
Cool thanks for the reply :)
Is it possible to exclude ``.*.sw?'' in ~/.vcs ?
--
SIGOURE Benoit aka Tsuna
_____
/EPITA\ Promo 2008.CSI Rock & tRoll
On 2006-05-08, Nicolas Pouillard <nicolas.pouillard(a)gmail.com> wrote:
> On 5/9/06, Tsuna <tsuna(a)warszawa.lrde.epita.fr> wrote:
>> Hi,
>> vcs doesn't seem to support svn's option -N
>
> Vcs supports it!
>
>>
>> for examples say I have:
>> ? src/sig/Makefile.in
>> A src/sig
>> A src/sig/Makefile.am
>>
>> ATM, I can't commit unless I rm src/sig/Makefile.in
>
> You are not supposed to remove the Makefile.in!
>
>>
>> $ vcs-svn ci -N src/sig src/sig/Makefile.am
>> vcs: info: Updating your working copy...
>> At revision 7.
>> ? src/tools/Makefile.in
>> ? src/sig/Makefile.in
>> vcs: error: You have unrecognized files in your working copy!This meant that these files wo
>> n't be committed!
>>
>
> You are experiencing a feature of Vcs :) that impose a rule to you:
> you can't commit with '?' files. In new_user mode a more complete
> explanation is provided. Perhaps you should comment the "new_user:
> false" line in your config file :). The good answer for Makefile.in is
> to add it to the ignore list `vcs-svn ignore src/sig/Makefile.in' is
> your friend.
>
> Hope this helps, and thank you for using Vcs.
>
> --
> Nicolas Pouillard aka Ertai <ertai(a)feydakins.org>
> http://uttk.org Uttk -- Unified Test Tool Kit
(BTW, a space is missing in your signature, it's "-- " not "--")
I know this is a "feature" of VCS. But I'm telling it not to recurse in this
directory so ... what the hell?
It's a bit borring to add all the files generated by the autotools in the
ignore list... maybe VCS should help by knowing that this particular file is
generated by auto* and thus ignore it (maybe also display a notice to let the
user know this file was ignored for such reasons)
--
SIGOURE Benoit aka Tsuna
_____
/EPITA\ Promo 2008.CSI Rock & tRoll
Hi,
vcs doesn't seem to support svn's option -N
for examples say I have:
? src/sig/Makefile.in
A src/sig
A src/sig/Makefile.am
ATM, I can't commit unless I rm src/sig/Makefile.in
$ vcs-svn ci -N src/sig src/sig/Makefile.am
vcs: info: Updating your working copy...
At revision 7.
? src/tools/Makefile.in
? src/sig/Makefile.in
vcs: error: You have unrecognized files in your working copy!This meant that these files wo
n't be committed!
--
SIGOURE Benoit aka Tsuna
_____
/EPITA\ Promo 2008.CSI Rock & tRoll