Re: adding something to svn
From: Eric Lee <eric_at_myprojects.srhost.info>
Date: Fri, 25 Jul 2008 04:45:44 +0800
Hi,
It seems that you need to copy using svn copy WC URL syntax, right ?
Say you are currently in working copy [wc].
c:\projects\wc>
Please go one level up, and type in the copy sub-command
c:\projects\wc> cd ..
Eric,
----------------------------------------------------
Buddy, I have read most of the relevant parts of the manual. :)
the current question is: m running svn copy file:///trunk <url_fr_new_branch>
On Thu, Jul 24, 2008 at 9:56 AM, Eric Lee <eric_at_myprojects.srhost.info> wrote:
Hi,
I'am not sure how your folders are construct.
If you need to add files to repository.
1.) import
Directory of R:\temp\wc\phpbb
07/23/2008 05:07a <DIR> .
c:\wc> svnadmin create [path-to-repos]
---
2.) add files
c:\wc> svnadmin create [path-to-repos]
Directory of c:\wc>
07/23/2008 05:07a <DIR> .
c:\wc> cd svn
c:\wc\svn> svn status
c:\wc\svn> svn commit -m "added a new files"
Wish this help,
Eric,
----------------------------------------------------
Hi all,
I make a dir using svn mkdir.
as far as i saw the svn manual, i saw "svn add files" i did not find anything like this "svn add <source> <URL_at_svn_repo>"
is right now, my working copy is pointing to vx_v_z_abc and i want to to commit the contents of the working dir to the dir that i switched to using the svn switch command. will svn commit serve the purpose? so in short
--
"Shut yourself from the world and create the reality you want"
You don't want to run 'svnadmin create' twice.
Also, note to newbies: svn creates a directy called '.svn' in working copies (which if often hidden, but not always). This is different from, and should not be confused with the user created 'svn' (no leading dot) in the above example.
Scripted examples would probably be more useful using file:// (so anyone could run them).
I read the original post, but could not figure out what the real question was. At first glance, it seems the OP does not understand the difference between a WC and a REPO. Rather than think too hard about it, I just ignored the question.
To the OP (Original Poster): First advice: read the manual (http://svnbook.org). Second advice: when asking for help, show exact commands, what reponse you recieved, and what you expected. (See: http://www.catb.org/~esr/faqs/smart-questions.html)
--
"Shut yourself from the world and create the reality you want"
|
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.