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

RE: adding a file to a working copy

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Mon, 11 Jan 2010 15:09:57 -0500

> I do a checkout of an empty project
>
> $ svn checkout URL mydir
>
> Q1. So does this make mydir a working copy...?
>
> I try to add a file located elsewhere in the filesystem to mydir
>
> $ cd mydir
> $ svn add /home/sample.txt
>
> I get a message saying its added. However the following ends up
> blank
> (shows no output)

Hmmm... you should get and error. Since /home/sample.txt is most likely not in mydir.

>
> $ svn status
>
> Q2. Shouldn't svn status show something here? Why does it not show
> anything?
>
> --deostroll

Because sample.txt needs to be in mydir or below it.

BOb
Received on 2010-01-11 21:10:17 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.