On 12 March 2012 17:58, Nic <nicolas.christie_at_gmail.com> wrote:
> Hi, I'm new to everything SVN and am trying to setup a repository to keep
> track of my software developing. I'm actually an electronics engineer so all
> the server setup is confusing me a lot. Introductions made, here's what I
> have so far:
>
> I've installed TortoiseSVN on my computer and created a repository on an
> empty unused local disk partition. By create I mean I right-clicked on a
> folder and selected "Create Repository here"... nothing else =)
> I've installed Apache Server and finally got the service running ok on my
> computer (had problems with IIS and Skype with ports use).
So far so good, and you've got past the IIS/Apache conflicts. My
personal preference (and it is only personal) for a small setup is to
use svnserve as it runs fast and is easy to configure. At one point we
had a tutorial on setting up Apache but we dropped it a while back
when the server install packages became more common (VisualSVN,
uberSVN, CollabNet Subversion Edge). Did you use one of those?
> Right now I'm not sure how to proceed. I have some folders I'd like to keep
> track of, on another partition of my disk. A co-worker has another version
> of the code and we would like to have all our versions put together.
How close are your various versions? You are probably better off
working through the pain of merging them into one consolidated version
first before putting it into Subversion. Version control systems do
support merging, but mainly through knowing the shared history of two
different development paths. Since your code has never been versioned
you don't have this advantage yet.
> I've looked at the Tortoise help files, youtube tutorials and stuff and I
> can't figure out how to set things up.
Have you looked at the quick start guide in the manual? It may be a
bit simplistic, but gives an overview of the basic work flow.
> I think at some point trying things I
> added a group of folders and now those folders always get imported, even if
> I delete the repository folder, and clear all saved data from the settings
> menu. How can I get back to a clean start?
Your description doesn't stack up, but it's probably just the
terminology. You need to be clear about the difference between a
working copy and a repository. The Repository is the master database
which only the server accesses. If you delete it you have lost all you
history, and your project is effectively dead. But if you want a fresh
start then that is OK. The working copy is just that - a local copy
which you work on. If you delete it you lose any local changes, but
that is all. You can checkout a fresh working copy from the
repository. If you deleted the repository then you may as well delete
the orphaned working copy as it no longer has anything to link to.
The work flow is that you make changes in your working copy, test them
and then commit back to the repository. Your co-workers can then
update their working copies and they will get your changes. As long as
your work doesn't overlap with theirs it will simply be merged in and
they can carry on working and commit their own changes when ready.
Import is the process of getting data into the repository to start
with. You only do it once on unversioned data, then you checkout a
working copy and do your work there. Import is not one of subversion's
better commands and for that reason we describe a method in the manual
called "import in place". For some reason I omitted to mention it at
all in the quick start guide.
> Every help file I read so far
> asumes a lot of knowledge on many things, which I don't have a clue about.
> Not that the assuming is wrong, given the apps context, but I don't now how
> to fill in the gaps without having to go get anohter degree!
> So, I have:
> - a blank repository on partition D:
> - Software projects on partition C:
> - Software versions on other peoples computers.
>
> How do I setup Apache to allow other users to commit to the repository on my
> computer? Is it possible to do so without going into command line weird
> stuff?
Sorry, I'm going to pass on that one as I have never set up Apache.
> If anyone knows of a full-idiot-proof tutorial or manual, I'd be most
> grateful for it. If not... perhaps we can start one right now! I'd be happy
> to help.
If you find the manual overwhelming then I'd be pleased to hear
suggestions on what can be done to improve it. The quick start was
meant to be an easier way in, but it needs more work. In the meantime
feel free to come back with any more questions.
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2934589
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-03-13 00:32:28 CET