[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: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-06-05 02:15:31 CEST

On 6/4/07, Rich Shepard <rshepard@appl-ecosys.com> wrote:
> 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.

What does svn st show?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 5 02:15:50 2007

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

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