Where I work at, we have about 2 dozen or more projects, using SVN as version control. My boss is pretty strict about the repositories, but misguided I think. For example, we always have one "Current" branch for development, which gets merged into Trunk before a release. For all other purposes, "Current" is the trunk and we don't ever ...
I'm converting everything over to Git for my own personal use and I found some old versions of a file already in the repository. How do I commit it to the history in the correct order according the the file's "date modified" so I have an accurate history of the file?
I was told something like this would work:
git filter-branch --env-...
Hi Guys,
I'm attempting to test my repository using an in-memory mock context.
I implement this with an in-memory Dictionary, as most people do. This implements members on my repository interface to Add, Remove, Find, etc, working with the in-memory collection.
This works fine in most scenarios:
[TestMethod]
public void CanAddPost()
...
svn: Commit failed (details follow):
svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options
svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found
new...
This all started when I noticed that my repository size is increasing at a daily rate of 1GB.
I did a simple test. Created a branch/tag of an existing folder that had a size of 35KB. I took note of revision number and went to $REPO/db/revs/<K-rev>/rev-number/ and checked the size of the revision. It was 1 mega byte. That sounds fishy.
An...
In trying to set up the Android SDK, I can't seem to get connected to the repository. With the proxy set correctly, and https forced to http, I get this error:
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: Connection reset.
Without the proxy set, I get the same result, except it says the conne...
I have the following repository that I use for unit testing:
public class MyTestRepository<T>
{
private List<T> entities = new List<T>();
public IQueryable<T> Entities
{
get { return entities.AsQueryable(); }
}
public T New()
{
//return what here???
}
public void Create(T entity)
{
...
I set up an central repository in my home directory.
I set it up in my home directory and would like to move it from /home/$USER to /home/share/.
For reference, here are the details of the initial setup for reference following the directions in the bzr documentation:
#establish the central repository
mkdir project
mkdir project/dev
b...
public T Update(T update) { }
Currently for this method I m implementing it like so..is there any other easy way around in Linq to SQL
public T Update (T update)
{
var table = (IEnumerable<T>)(_table.AsQueryable());
var store = (T)((from a in table.Where(
a => a.GetType().GetPrimaryKey() ==
update.GetType(...
Hello,
I installed and set up Redmine project management application. Now I need to setup its backups (which include database dump + "files" directory). But I have a question:
Do I have to check in my Redmine backups into my SVN repository or not?
...
I know there are other applications also, but considering yum/apt-get/aptitude/pacman are you core package managers for linux distributions.
Today I saw on my fedora 13 box:
(7/7): yum-3.2.28-4.fc13_3.2.28-5.fc13.noarch.drpm | 42 kB 00:00
And I started to wonder how does such a package update itself? What design is...
I just got hold of an openSuse 10.3 VPS. I really don't know much about Unix and SSH and this stuff but I'd like to use my server to host a GIT repository. This seems simple enough to me...
Here is what I did:
I SSHed into my server and installed GIT (I guess), simply by entering
# yast --install git
Then some magic happened and obv...
As the topic describes. I am searching for a good (simple) product that lets me keep track of all my WebServices/WindowsServices/WebApps and what they use (my components). For each component I will select what other components are used by it. By doing that on all my components I will be able to get a complete overview of who uses what.
...
We have a project that was implemented in linq to sql and is being migrated to LLBLGenPro runtime using the adapter pattern.
The first version of the app did a huge amount of caching, placing entire tables into the httpcache and then doing all the linking in the codebehind. (sigh)
So you get something like :
from p in MyCacheObject.P...
I have a coding project that I would like to maintain at GitHub.
I went to http://github.com and created an account.
I downloaded and installed Git on Windows 7 choosing the option to use it via the command line.
Through some googled tutorials I created an SSH key.
I'm following the following instructions:
But when I get to "git c...
I've come across various questions regarding subversion here but nothing specific to what i'm looking for.
I'm going to hire a freelancer to work remotely on my existing projects(extending functionality and code maintenacne for already existing code.
While i'm going to trust him with the code and let him have all the access he needs ...
I have two projects, A and B. They were poorly divided, because A had to run one part before B and another part after B. So I decided to merge them. B's contents were copied into A's working directory, committed, and work continued from there.
Of course, B's history was not preserved in the copy-paste. I want to fix this before it's for...
Our tortoiseSVN repository unfortunately became corrupt today due to a disk glitch.
We have a good working copy based off revision 2897.
Our most recent backup repository is from revision 2848.
We would like to salvage as much as possible of the history, rather than start a new repository.
So, can we do this by committing the working ...
we recently had our SVN repository disappear from the server hosting it. We still haven't figured out how it happened, but we had a semi-recent backup which we were able to use to recover the repository. We didn't lose any work (everyone had back ups of their most recent changes on their hard drives) but the revision numbers essentiall...
Hi,
I am learning java for 3 months and sometimes
i can not understand the usage purpose of something.
one topic was dependency injection and spring beans i figured out the finally =)
now i confused with the two annotations @Autowired and @Repository.
First What does Autowiring mean? then
Why should i use them and what is the diffe...