You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by N D <ni...@gmail.com> on 2008/09/13 13:44:11 UTC

svn ignore

I have set svn ignore ON for a file. When I do a svn status --no-ignore I
see a 'I' against that file name as follows:

I <file_name>

What I want to confirm is, when I commit the directory that contains this
file, the file will not be commited. Am I right? The file that I am talking
of is un versioned.

Re: svn ignore

Posted by Andy Levy <an...@gmail.com>.
On Sat, Sep 13, 2008 at 10:19, N D <ni...@gmail.com> wrote:
> Thanks Andy :)
> One more question
> CVS has a kkv parameter that tells the commit to happen in ASCII format
> do we have an equivalent parameter for the svn add command?

According to http://cvsbook.red-bean.com/cvsbook.html, "The -kkv means
to do normal keyword substitution and implies normal line-end
conversions as well. (Internally, CVS is a bit confused about the
difference between keyword substitution and line-end conversion. This
confusion is reflected in the way the -k options can control both
parameters.) "

Which I do not read the way you've posted here, so I don't know what
you're getting at. Subversion handles all files (text and binary) in
the repository identically as far as storage and diffs are concerned.

To make certain that your files are handled properly everywhere, set
the svn:mime-type attribute appropriately.

This is all covered in the manual, have you read it?

Also, please read http://www.caliburn.nl/topposting.html

> On Sat, Sep 13, 2008 at 3:58 PM, Andy Levy <an...@gmail.com> wrote:
>>
>> On Sat, Sep 13, 2008 at 09:50, N D <ni...@gmail.com> wrote:
>> > So that file will be excluded and not commited when i do a
>> > svn commit <director_containing_that_file>
>> > Except that file, all other files in that directory will be commited.
>> > Correct?
>>
>> That is the definition of "ignore" in Subversion.
>>
>> > On Sat, Sep 13, 2008 at 3:48 PM, Andy Levy <an...@gmail.com> wrote:
>> >>
>> >> On Sat, Sep 13, 2008 at 09:44, N D <ni...@gmail.com> wrote:
>> >> > I have set svn ignore ON for a file. When I do a svn status
>> >> > --no-ignore
>> >> > I
>> >> > see a 'I' against that file name as follows:
>> >> >
>> >> > I <file_name>
>> >> >
>> >> > What I want to confirm is, when I commit the directory that contains
>> >> > this
>> >> > file, the file will not be commited. Am I right? The file that I am
>> >> > talking
>> >> > of is un versioned.
>> >>
>> >> That status is indicating to you that the item is ignored.
>> >
>> >
>
>

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

Re: svn ignore

Posted by N D <ni...@gmail.com>.
Thanks Andy :)
One more question
CVS has a kkv parameter that tells the commit to happen in ASCII format
do we have an equivalent parameter for the svn add command?

On Sat, Sep 13, 2008 at 3:58 PM, Andy Levy <an...@gmail.com> wrote:

> On Sat, Sep 13, 2008 at 09:50, N D <ni...@gmail.com> wrote:
> > So that file will be excluded and not commited when i do a
> > svn commit <director_containing_that_file>
> > Except that file, all other files in that directory will be commited.
> > Correct?
>
> That is the definition of "ignore" in Subversion.
>
> > On Sat, Sep 13, 2008 at 3:48 PM, Andy Levy <an...@gmail.com> wrote:
> >>
> >> On Sat, Sep 13, 2008 at 09:44, N D <ni...@gmail.com> wrote:
> >> > I have set svn ignore ON for a file. When I do a svn status
> --no-ignore
> >> > I
> >> > see a 'I' against that file name as follows:
> >> >
> >> > I <file_name>
> >> >
> >> > What I want to confirm is, when I commit the directory that contains
> >> > this
> >> > file, the file will not be commited. Am I right? The file that I am
> >> > talking
> >> > of is un versioned.
> >>
> >> That status is indicating to you that the item is ignored.
> >
> >
>

Re: svn ignore

Posted by Andy Levy <an...@gmail.com>.
On Sat, Sep 13, 2008 at 09:50, N D <ni...@gmail.com> wrote:
> So that file will be excluded and not commited when i do a
> svn commit <director_containing_that_file>
> Except that file, all other files in that directory will be commited.
> Correct?

That is the definition of "ignore" in Subversion.

> On Sat, Sep 13, 2008 at 3:48 PM, Andy Levy <an...@gmail.com> wrote:
>>
>> On Sat, Sep 13, 2008 at 09:44, N D <ni...@gmail.com> wrote:
>> > I have set svn ignore ON for a file. When I do a svn status --no-ignore
>> > I
>> > see a 'I' against that file name as follows:
>> >
>> > I <file_name>
>> >
>> > What I want to confirm is, when I commit the directory that contains
>> > this
>> > file, the file will not be commited. Am I right? The file that I am
>> > talking
>> > of is un versioned.
>>
>> That status is indicating to you that the item is ignored.
>
>

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

Re: svn ignore

Posted by N D <ni...@gmail.com>.
So that file will be excluded and not commited when i do a
svn commit <director_containing_that_file>
Except that file, all other files in that directory will be commited.
Correct?

On Sat, Sep 13, 2008 at 3:48 PM, Andy Levy <an...@gmail.com> wrote:

>  On Sat, Sep 13, 2008 at 09:44, N D <ni...@gmail.com> wrote:
> > I have set svn ignore ON for a file. When I do a svn status --no-ignore I
> > see a 'I' against that file name as follows:
> >
> > I <file_name>
> >
> > What I want to confirm is, when I commit the directory that contains this
> > file, the file will not be commited. Am I right? The file that I am
> talking
> > of is un versioned.
>
> That status is indicating to you that the item is ignored.
>

Re: svn ignore

Posted by Andy Levy <an...@gmail.com>.
On Sat, Sep 13, 2008 at 09:44, N D <ni...@gmail.com> wrote:
> I have set svn ignore ON for a file. When I do a svn status --no-ignore I
> see a 'I' against that file name as follows:
>
> I <file_name>
>
> What I want to confirm is, when I commit the directory that contains this
> file, the file will not be commited. Am I right? The file that I am talking
> of is un versioned.

That status is indicating to you that the item is ignored.

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