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

Re: Adding new files

From: S I <xiamak_at_hotmail.com>
Date: 2005-09-09 19:52:19 CEST

Ok, great and thank you.

----Original Message Follows----
From: Ryan Schmidt <subversion-2005@ryandesign.com>
To: S I <xiamak@hotmail.com>
CC: users@subversion.tigris.org
Subject: Re: Adding new files
Date: Fri, 9 Sep 2005 19:06:10 +0200
MIME-Version: 1.0 (Apple Message framework v734)
Received: from server20.hostpoint.ch ([217.26.52.30]) by mc2-f34.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Fri, 9 Sep 2005 10:06:14 -0700
Received: from [195.145.7.218] (helo=[172.25.1.2])by server20.hostpoint.ch
with esmtpa (Exim 4.43 (FreeBSD))id 1EDmKJ-00080M-BD; Fri, 09 Sep 2005
19:06:11 +0200
X-Message-Info: JGTYoYF78jGw3GkHJPVg53eVvlKABun1Z/xhCV8rfQw=
References: <BAY105-F3142B14C6EBE714EEA178BD8980@phx.gbl>
X-Mailer: Apple Mail (2.734)
X-AntiAbuse: This header was added to track abuse, please include it with
any abuse report
X-AntiAbuse: Primary Hostname - server20.hostpoint.ch
X-AntiAbuse: Original Domain - hotmail.com
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6]
X-AntiAbuse: Sender Address Domain - ryandesign.com
Return-Path: subversion-2005@ryandesign.com
X-OriginalArrivalTime: 09 Sep 2005 17:06:14.0464 (UTC)
FILETIME=[C90F5400:01C5B560]

On Sep 9, 2005, at 18:30, S I wrote:

>I just created new dir and moved bunch of files into it via Win Explorer.
>In a DOS prompt I did the following:
>
>1. svn mkdir lib
>C:\trunk\build>svn mkdir lib
>A lib
>
>2. svn add lib
>C:\trunk\build>svn commit -m "Creating files" lib
>Adding lib
>
>Committed revision 11.
>
>3. cd lib
>
>4. svn log filename
>svn: 'mail.jar' is not under version control
>
>What am I doing wrong? I thought do ing svn mkdir and svn add at a
>directory level automatically checked in the files under it.

"svn mkdir lib" is a shortcut for "mkdir lib && svn add lib". So when you
then performed an "svn add lib" after adding files to the lib directory, it
did nothing, because lib had already been added by the "svn mkdir" command.

You could either have done it like this:

$ svn mkdir lib
# now add stuff to it via windows explorer
$ svn add lib/*
$ svn ci lib

Or like this:

$ mkdir lib
# now add stuff to it via windows explorer
$ svn add lib
$ svn ci lib

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 9 19:54:04 2005

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