You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Troy Bull <tr...@gmail.com> on 2008/03/28 15:37:13 UTC

Add without commit

Greetings

I have a question.  If I do an add, then never commit will that cause
any problems?

I have a pre-commit hook that disallows files that only differ by case
(since we are a windows shop).  The script works, but it is possible
for people to add some file only differing by case, then the hook
fires when they try to commit and fails it.

Thanks
troy

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

Re: Add without commit

Posted by Hilco Wijbenga <hi...@gmail.com>.
On Fri, Mar 28, 2008 at 8:37 AM, Troy Bull <tr...@gmail.com> wrote:
>  I have a question.  If I do an add, then never commit will that cause
>  any problems?

No, not really. It's probably quite annoying though. :-)

>  I have a pre-commit hook that disallows files that only differ by case
>  (since we are a windows shop).  The script works, but it is possible
>  for people to add some file only differing by case, then the hook
>  fires when they try to commit and fails it.

Well, that's the point of your pre-commit script, right? :-)

Your users can always do an svn revert of the offending file.

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