[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: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Wed, 20 Jan 2010 16:16:27 +0100

On Wednesday 20 January 2010, 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.

On your flashdrive is a WC. Inside that WC is (in the .svn dirs) the URL of
the repository, e.g. "file://C:/home/rolf/svn-repository"
or "http:///home-desktop.example.local/svn".

If you now try to commit, SVN creates a connection to the repository using the
URL. If it's a file path, and it finds the repository there, it will commit
to the repository, but I don't think that could have happened without error,
because it is unlikely that at the exact same location on your work machine
is also a repository that has the exact same content.

If you commit using an http URL and your home machine is found even though
you're in a different network, the commit went to the right repository.
Otherwise you would have gotten an error, too.

The only thing I could imagine is the repository being on the same flash disk
as your working copy, but in that case, too, you wouldn't have any problem.

Summary: You should have gotten an error for that commit or you would have
committed to the correct repository. It's still unclear what exactly you did.
Also, the requested 'svn info' output is still missing. If you're using
TortoiseSVN, you can select "Properties" from the Explorer, you should have a
tab "Subversion" there which contains the relevant info.

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
**************************************************************************************
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2010-01-20 16:17:07 CET

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.