[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Update/Commit ignoring lines

From: Eduardo Elias Camponez <camponez_at_uai.com.br>
Date: 2005-12-23 14:56:09 CET

Hi all....
First of all, sorry my bad english. :-)

Im trying migrate my project to Subversion and it's important to know if
I can do "update ignoring line".
Let me explain:

I have a foo.c and bar.c files that are (re)genarate by a script.
I need that those files have the same hash version. Hash version in this
case is a line with numbers and letters (something like md5 key).
Everytime script needs to regenarate those files it make a new key and
write in particular place of each file (foo.c and bar.c)

The key must be the same in both files. But it's not important itself.

Dev 1 - svn add foo.c bar.c
Dev 1 - svn commit // foo.c and bar.c will be add to repository
Dev 2 - svn co file://repository // will get foo.c and bar.c
Dev 1 - uses a script and a new key will be genarate, but for Dev 2 it's
not important to get it.
Dev 1 - svn commit // *First problem* foo.c and bar.c will be commit
only because the key.
Dev 2 - svn update // *Second problem* foo.c and bar.c will be update
only because the key.

Imagine there is a mark in the key line like: //VERSION
Question: Is there any "svn update --ignore-lines=^//VERSION" and/or
"svn commit --ignore-lines=^//VERSION" ?

Hope you get the problem and thanks for at least read this...


Eduardo Elias

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 25 01:19:58 2005

This is an archived mail posted to the Subversion Users mailing list.