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

Re: I think I'm in big trouble! (committed changes error)

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Wed, 20 Jan 2010 09:50:02 -0500

Rolf Marsh wrote:
> Let me see if I can clarify this better... my (supposedly one and only)
> repository is on my desktop at home. I have one (1) working copy, which
> is on my flash drive. I normally do a commit after making changes when
> the flash drive is attached to the home desktop.
>
> This time, I did a commit before leaving for work while the flash drive
> was connected to the home desktop. I went to work, made some changes to
> the working copy, and foolishly did a commit while the flash drive was
> connected to my laptop. I don't believe there is a repository on the
> laptop, at least that I knowingly created.

Did the commit succeed? If not, no big deal. Just take the drive home and
commit again to the desktop repository.

If it did succeed, then you've some explaining to do. Subversion won't
likely let you commit changes (which are expressed as deltas against some
known base, complete with checksums to verify file contents, etc.) easily
into the wrong repository. Is it possible that your repository -- which you
thought lived on the desktop box -- actually rests on the same flash drive?
 What does 'svn info' in your working copy reveal about the Repository Root?

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2010-01-20 15:50:43 CET

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