Questions tagged [working-copy]

85 questions
235
votes
24 answers

git status shows modifications, git checkout -- doesn't remove them

I would like to remove all changes to my working copy. Running git status shows files modified. Nothing I do seems to remove these modifications. E.g.: rbellamy@PROMETHEUS /d/Development/rhino-etl (master) $ git status # On branch master # Changed…
rbellamy
  • 5,276
  • 6
  • 34
  • 45
134
votes
10 answers

SVN upgrade working copy

I cannot do a SVN commit. I get this error: org.apache.subversion.javahl.ClientException: The working copy needs to be upgraded svn: Working copy 'C:\.... is too old (format 10, created by Subversion 1.6) How can it be fixed?
user810430
  • 10,663
  • 15
  • 34
  • 42
90
votes
6 answers

How can I make my local repository available for git-pull?

I have a working copy repository that I've been working in no problem; the origin for this repository is on GitHub. I'd like to make my working copy repository available as the origin for my build machine (a VM on another physical host), so that…
alastairs
  • 6,419
  • 8
  • 47
  • 61
87
votes
7 answers

SVN - Change working copy to point at new svn path

I've got a SVN Repository that has moved to a new address/path. However, I've got a working copy with uncommitted source code still pointing to the old (now invalid) repository path. How do you change a working copy to point at a new repository?
quano
  • 17,702
  • 24
  • 94
  • 108
72
votes
2 answers

How do I determine the SVN working copy layout version?

For example, the SVN 1.5 client has one layout for working copies, and the SVN 1.6 client has a different layout. I understand that the layout automatically gets upgraded when it gets touched by a newer client. If I have a working copy on my system,…
William Leara
  • 10,227
  • 3
  • 33
  • 57
66
votes
10 answers

Can git do a diff of the working copy with stash

How can I diff my current working copy against a stash? My use case: my working copy already contains a subset of the changes in my stash@{0}, but I don't want to apply all the changes in stash@{0}. I want to do a diff to help determine which…
Laughing monster
  • 669
  • 1
  • 5
  • 4
61
votes
5 answers

What is a working copy and what does "switching" do for me in Tortoise SVN?

I have a software app and I've hit an important milestone, version 2.0. I decided I want to tag this version as "Version-2.0" so I have named this snapshot. I also created a "Version-2.0" branch in case I need to fix anything and merge it back into…
KingNestor
  • 59,315
  • 50
  • 115
  • 149
61
votes
2 answers

How can I remove the working copy from a Mercurial clone?

When cloning a repository with mercurial you can pass the -U/--noupdate flag to create a clone with no working copy. Can I remove the working copy if I forget to pass this flag at clone time? And if so, how? This is conceptually similar to this git…
richq
  • 52,738
  • 20
  • 144
  • 141
28
votes
10 answers

How do I convert an existing directory to an SVN working copy (WC) without replacing local files?

I have a large Subversion repository with nearly 15 GB of data spread across ~500,000 files. Now I need to check out this repository to a remote host which would take days to complete. The host I'm checking out to already has a complete copy of the…
weston
  • 2,848
  • 3
  • 21
  • 23
27
votes
3 answers

Is it safe to delete the contents of .svn/pristine?

I'm working with a large application I've checked out from my repository, the bulk of this app is in the .svn/pristine folder. From what I understand, the pristine folder contains copies of the files in my workingCopy directory That being said,…
Kurai Bankusu
  • 3,821
  • 11
  • 56
  • 114
26
votes
10 answers

SVN - Not a working copy error

I'm pulling my hair out on this one. I have a site which is version controlled using Subversion. I use aptana (eclipse, subclipse) to do the svn. I have been checking in and out files, updating etc and everything is fine. However the system we have…
Paul M
  • 3,475
  • 8
  • 38
  • 52
19
votes
8 answers

SVN: one working copy, two repositories?

I'd like to know how can I set two repositories for my one working copy. I need one repository in my server, so that I can check in/out between two pcs; I need another repository in my local pc, so that I can see the result of diff quickly (my svn…
Fei
18
votes
7 answers

Try to svn checkout, but get: svn: '.' is already a working copy for a different URL

I'm trying to svn checkout into my public_html folder, but I get this error: svn: '.' is already a working copy for a different URL My brother already set up a boiler plate site for me, but I've changed it and put those changes into a repo of my…
user114518
13
votes
3 answers

SVN: merge local changes into other working copy

I have two working copies of the same project, each switched to a different branch. Is it possible to merge local changes in one project to the other working copy?
Mot
  • 24,166
  • 22
  • 78
  • 117
13
votes
2 answers

SVN Working Copy to Different Branch Merge Without Commit to Working Copy Branch

If a working copy (local copy) was created from a branch, lets call it A. Coding was done in branch A, but branch A was "Closed" to commits, and branch b was opened. How do I merge my working copy changes into Branch B and commit to branch B,…
Q Boiler
  • 1,087
  • 9
  • 20
1
2 3 4 5 6