repository

After setting up the svnserve Server, what URL will the client use to access the server?

Client ---| Internet |--- Server So I have set-up an svnserver server and it is running already. I typed svsnserve.exe --daemon --root "C:\Documents and Settings\Subversion Directory" on cmd. I have also set-up a repository and I can browse it through TortoiseSVN. I am the server computer. What I want to do now is for a client computer ...

Subversion Repository Update with History

I have an old but very important Subversion repository for which I haven't created form the start the usual structure: trunk, branches, tags. So all my files for this repository are residing in the root. I know how to create the new folders and move all my files in trunk but if I do that I will lose my project's history for 3 years, sin...

m2eclipse Indexing 3rd-party jars from Maven repository

Hi, I am using Nexus repository. and using Eclipse 3.4 with m2eclipse plugin installed. sometimes I need to upload jars that are not located in the central repositories (Like Sun jars). so I upload them under the "3rd-Party" section in Nexus. The problem is that when trying to add those jars as dependencies, eclipse does not index them ...

Handling and syncing own custom version of an open source library with SVN

I found an open source library that seems quite useful in my project. The library is however in alfa/beta state and is a bit immature. It happened that I had to manually apply a patch or make some changes completely on my own in order to get rid of some minor bugs in that lib. The question is: how can I store and manage my custom "branc...

Merge changes from remote github repository to your local repository

I have forked a repository on github some time ago, made a small change and pushed the change back to my github fork. The original repository has changed since. I would like to merge the changes from the original repository to my fork. I am new to both git and github, and I need specific commands how to do it. ...

How to setup git repository and permissions for multiple projects and developer groups

Hi! With Subversion one can setup access permissions per directory within repository. So eg. one group can have commit access to directory A, read on B - with exception that DevA has also commit permissions on B. How can one setup such a structure and permissions for Git repositories? ...

Removing irrelevent directories with SVN

I have a directory that came off of the part of the trunk that i checked out that is not relevant to my interests. How do I use Tortoise SVN to remove this folder from my system and stop SVN from trying to give me updates with out removing it from the repository? ...

Utility for downloading artifacts from maven repo without mvn/poms

Is there a maven client that isn't mvn (the binary included with the maven distribution) I could use to pull down an artifact from a maven repository without using a pom? I'd like to use a maven repository as the repo for our ops team to pick up builds (including snapshots of builds) but I don't want them to have to mess around with wr...

trying to set up tortoise svn - newbie question

I am trying to set up an svn on my windows computer to keep track of versions. i've downloaded tortoise svn, but am confused how to install. i can't find a good simple answer for my problem, all the manuals are fairly complicated, so please don't tell me RTFM. my problem is i set up a repository at C:\svn (using create repository here)....

What is the best way to organize multiple projects when using git

I have 5-10 independent projects that I want place under version control using Git. What is the best way to organize the projects/respositories: Use one repository for each project use one repository for all my work and use subdirectories for each project Or something completely different What has worked best for you and why? ...

In what maven2 repository Google Guice 2.0 can be found?

As far as I understand Google Guice 2.0 is out not so long ago. But I see that central repo still has outdated 1.0 version. Please, tell where can I find maven2 repository with Google Guice 2.0. ...

How to implement Repository Pattern with interface, base and concrete.

I have almost completed implementing my repository pattern by having a IRepository<T> interface, a NewsRepository class and a News entity. The problem I ran into was trying to abstract out common methods to a base Repository class. I could not find a way to abstract the Get method in the NewsRepository as it contains a specific Linq ex...

Choosing a F/OSS repository site for a small project? (SCM-agnostic)

I'm working on a project I expect to make public, and I'm aware of several F/OSS repositories I could use to release it - Sourceforge, Google code, and github. (Of course info about others is very welcome.) However, it seems that the biggest differentiator between them is which SCM they use, and that's something I'm entirely agnostic ab...

SVN folder to new repository root

I have an existing SVN repository which contains a folder that holds my project. I wish to know if there's a way of creating a new repository with my project's folder set as its root and preserve all subversion history (log) along with it. Notice that I do not mind loosing the original repository revision numbers. Thanks. ...

Mercurial push, abort: authorization failed.

I'm having problems with pushing to mercurial repository: $ hg push pushing to https://user:***@hg.domain.com/X_repo searching for changes abort: authorization failed The same URL (with the same credentials) is accessible through the web browser. Also, I tried it without embedding usr+pass into the URL. HTTPS is correctly configured,...

SVN Repository Structure and Shared Assemblies

We are trying to restructure our SVN repository and include a lib folder under the trunk to house assemblies that the project depends on. I am curious to know how you guys are dealing with shared assemblies? Do you have multiple copies of them that span across different trunk lib folders? Do you have some kind of build process that will...

How can I index our internal source code?

Google Code Search has indexed Subversion and Mercurial repositories, so people can search open source projects. How can I do the same for my company's repository with the least effort and without publishing our code? We have Trac (with Subversion) at our shop, but it only indexes Changesets, and we also have Visual Source Safe. ...

Maven deploy artifact war from repository to remote server

Hi, I have a build process after which I upload my war to our local Maven repository. When we deploy to TEST and PROD, I would like to use maven cargo plugin and specify the version to deploy to these environments. How can I configure my pom ( or maybe a new pom called pom-deploy.xml) to pull a particular war from the repository and de...

Repository Pattern Question

Hi, I have two repository classes below, MoneyTransferRepository class is used by other classes in my project. I have designed it this way - is it right? If not, what is the best way? Thanks public interface IMoneyTransferRepository { void UpdateBalance(); } public interface IOrderRepository { void Checkout(); void SaveOr...

Repository structure when having two "configs" of the same base repo?

So I'm having a bit of a structure problem with my repositories. I hope you guys can give me a few pointers on how to go forward with this. Setup; I have one large web project, with several opensource solutions integrated. I have it all in a Bazaar repository. Problem; I want two or more "configs" of this site now, meaning the databa...