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

Re: Cleaning Up A Mess

From: Rich Shepard <rshepard_at_appl-ecosys.com>
Date: 2007-06-05 00:44:25 CEST

On Mon, 4 Jun 2007, Ryan Schmidt wrote:

> Show us the exact commands you enter and the exact results you receive; it's
> hard to speculate what's going on otherwise.

Ryan,

   Here's the cwd contents:

-rw-r--r-- 1 rshepard users 2743 2007-06-01 17:04 gpmi-data.sql
-rw-r--r-- 1 rshepard users 6069 2007-05-29 16:57 queries.py
-rw-r--r-- 1 rshepard users 10451 2007-06-04 10:30 schema.sql

   Here's the current repository contents:

[rshepard@salmo /data1/permitwatch]$ svn ls
gpmi-data.sql
queries.py
reports.txt
schema.sql

   Now I make minor changes to schema.sql and gpmi-data.sql

-rw-r--r-- 1 rshepard users 2774 2007-06-04 15:37 gpmi-data.sql
-rw-r--r-- 1 rshepard users 6069 2007-06-04 15:34 queries.py
-rw-r--r-- 1 rshepard users 10451 2007-06-04 15:36 schema.sql

   Note that emacs changes the mtime of those files.

   Then I commit changes:

[rshepard@salmo /data1/permitwatch]$ svn ci -m "Touched two files."
Sending gpmi-data.sql
Transmitting file data .
Committed revision 96.

   Why wasn't schema.sql also transmitted? That's what I'm trying to fix.

> One possible reason changes you make to a file aren't seen by Subversion and
> not transmitted to the repository is if whatever tool you use to edit the
> file does not bump the file's modification date.

   The only text editors I use are emacs and joe (with the occasional use of
vi thrown in). They all change the file's mtime when it's modified. I didn't
know that editors did not do that.

> Telling Subversion to add a file that's already added shouldn't cause
> anything to blow up; it should just print a message that the file is already
> added.

   It was the lack of tranmission of changed schema.sql files to the
repository that made me think it was not properly added.

   Hope this helps to shed a light on the problem so I can get beyond it.

Thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |          Accelerator(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 5 00:44:56 2007

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