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

Re: Eliminating the text-base penalty

From: Ask Bjoern Hansen <ask_at_develooper.com>
Date: 2002-10-03 08:50:42 CEST

On Fri, 27 Sep 2002, Rafael Garcia-Suarez wrote:

> However -- I use Perforce on a project where some generated files
> are also kept in the repository. That's means that when those files
> are to be regenerated, we've to p4-edit them before running the
> generation program.

[perforce stuff; sorry]

It's a bit of a hack, but you don't have to open everything for edit
for that kind of thing.

chmod -R +w apps
# do the work
p4 diff -sd | p4 -x - delete
p4 diff -se | p4 -x - edit
(find ./apps/ -type f | p4 -x - files 2>&1 >/dev/null) | cut '-d ' -f1 > /tmp/newfiles
vi /tmp/newfiles
p4 -x - add < /tmp/newfiles
p4 submit
chmod -R -w apps

Or if that's too ugly then I never found it too much hassle to do a
p4 edit of everything and then use "p4 diff -sr" to find files to
revert before doing p4 submit.

 - ask (who doesn't use perforce anymore)

-- 
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 3 08:51:13 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.