working-copy

git status shows modifications, git checkout — <file> doesn't remove them

こ雲淡風輕ζ 提交于 2019-12-16 22:35:32
问题 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 but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: Rhino.Etl.Core/Enumerables/CachingEnumerable.cs # modified: Rhino.Etl.Core

SVN - When you tag a working copy is it still a cheap copy?

北慕城南 提交于 2019-12-12 10:39:58
问题 Using Subversion, in my working copy I make a minor modification (update a version number). I would then like to tag my working copy. Would this tag still be a cheap copy with the modification, or would SVN duplicate the files? I would hate to see my repository grow enormously in size because I'm trying to save a version number change. The reason I ask about creating a tag that contains a modification rather than committing then tagging involves my build server. The build server creates a

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

怎甘沉沦 提交于 2019-12-12 09:28:52
问题 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, Would it be okay to delete these files? Do I really need them? I have my files backed up already and no intention to revert. The extra space gained would dramatically cut my compile time as well. EDIT I now understand that changing anything manually

Can't approach svn working copy

五迷三道 提交于 2019-12-11 20:32:01
问题 I've created a svn repository on a linux computer. For this repository I've also created a working copy named myfirstproject . In order to get the URL of it I've typed in " svn info". The answer was "svn://localhost/myfirstproject". Now I want to approach this working copy from windows computer. I've tried doing it via netbeans for the first time and tortoiseSVN as well. I've tried to approach svn://my_server_domainName/myfirstproject , but it was failed. what should I suppose to do? Is there

SVN: merge local changes into other working copy

混江龙づ霸主 提交于 2019-12-09 14:36:56
问题 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? 回答1: You can't merge two separate working copies, but there are some things you can do. If the changes are made to existing files, the easiest way is to create a patch with svn diff , and then just apply that patch to the other working copy. Eg. in the first working copy you do: svn diff > patch And then you apply it in the other

svn: warning: '.' is not a working copy

依然范特西╮ 提交于 2019-12-08 15:27:06
问题 On a server, I used the svn import command to put files into SVN. I checked the files out to my local machine, made some changes and then committed back. Now I want to update the server copy of the files, but using svn update , it shows " skipped '.' " and svn status shows " svn: warning: '.' is not a working copy ". 回答1: Importing into svn doesn't make what you import a working copy. You have to check it out on the server just as you did locally. From then on it will be a working copy and

Svn log - svn: '.' is not a working copy

╄→гoц情女王★ 提交于 2019-12-05 05:16:06
I'm getting "svn: '.' is not a working copy" when i use the svn log command. I know that i need a working copy for the log command to work but can this be done directly on a repository? My goal is to display the information (change history) of a repository. I think updating the working copy whenever i need the log information is not a good solution. Is there an alternative solution to this or updating a working copy every time i need to log is the only way to go? Thanks in advance. Try svn log [repository_url] That will get the log of a particular repository rather than the local, checked-out

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

会有一股神秘感。 提交于 2019-12-04 22:22:26
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, Would it be okay to delete these files? Do I really need them? I have my files backed up already and no intention to revert. The extra space gained would dramatically cut my compile time as well. EDIT I now understand that changing anything manually inside .svn will likely break my workingCopy. I need to find a way to reduce the size of my workingCopy.

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

痞子三分冷 提交于 2019-12-04 07:40:09
问题 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 question, but for mercurial. 回答1: I might be missing the nuances here. Some one can correct me. Documentation at Mercurial wiki says following about bare repositories: " Although this is a minor issue, Mercurial can obviously handle a bare

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

给你一囗甜甜゛ 提交于 2019-12-02 15:22:42
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 question , but for mercurial. pyfunc I might be missing the nuances here. Some one can correct me. Documentation at Mercurial wiki says following about bare repositories: " Although this is a minor issue, Mercurial can obviously handle a bare repository; that is, a repository without a working copy. In Git you need a configuration option for that,