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

Re: Can't commit after switching working copy

From: Erik Hensema <erik_at_hensema.net>
Date: 2005-09-07 10:43:30 CEST

On Wednesday 07 September 2005 10:23, Stephan Zeissler wrote:
> Erik Hensema wrote:

> >However, sometimes I need to do fixes to the live site, directly
> > in the docroot. This is where the problems start: most files have
> > state "S" in this 'svn status' output. svn completely ignores any
> > change to these files. They can't be reverted, they can't be
> > commited.
> >
> >So, what to do? I want to commit my changes to the site_1_1 branch
> > and I don't want downtime for the site if I can help it.

> what kind of editor do you use to edit the files in the site?
> AFAIK SubVersion uses the timestamp at first level to identify if a
> file has changed. If your editor do not modify the timestamp,
> subversion does not know that it has been modified.
> try to touch the file, maybe it then works.

I'm using vim to edit the files. Touching doesn't work. The computer
time isn't changed after the svn switch (clock is ntp synched).

-- 
Erik Hensema (erik@hensema.net)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 7 10:45:37 2005

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