Srinivasa Kanduru <skanduru@siliconrock.com> wrote:
> Hi All,
>
> I am new to subversion and appreciate your feedback for the following ..
>
> a) is there an easier way to ignore modifications in a file in the
working copy ?
>
> I searched for that and found the following
>
> $ svn propedit svn:ignore . # indicates current dir is working copy
>
> [If the EDITOR env is set ]
> enter the filenames to be ignored one on a line
>
> and the proplisting shows up as follows:
>
> $ svn pl -v
> Properties on '.':
> svn:ignore : dontbother hello
>
svn propset svn:ignore "dontbother
hello" .
>
> The files I want to ignore is also part of the repository and I do
modify in the current working copy which I do not want those to be
included for commits
>
AFAIK if the file is part of the repository you cannot ignore it
with svn:ignore. svn:ignore is only usefull for files not in the
repository yet.
You could explicitly tell Subversion which files to commit (but
you have to do this for every commit).
> b) Is there a non-interactive way of telling subversion what those files
are ?
>
global-ignores (see below)
> Thanks a ton !!
>
> Regards,
> Srinivas.
Please let me give you some hints on using the mailing lists:
- If you have a new question please use a new subject
- If you have a new question please send it to the mailing
list and not to someone who already help you with something
else - he might be on holdiay, not capable of helping you or
whatever else
- Questions about the use of Subversion should be posted
to the users list, not the dev list
Anyway, see my answers above and have a look at the Subversion
book (http://svnbook.red-bean.com) and read about svn:ignore
and global-ignores e. g.
Mathias
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 9 08:12:27 2006