LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2011, 08:30 AM   #1
HarryBoy
Member
 
Registered: Apr 2008
Distribution: MontaVista Linux Version 4.0.1, Professional Edition
Posts: 215

Rep: Reputation: 16
SVN add folder question


I have a new folder in my directory, called 'newfolder'

When I create a diff file there is no mention of this new folder in it.

When I do 'svn add newfolder' it says:
svn: warning: 'newfolder' is already under version control.

How do I get my newfolder to be included in my diff file so that it is included when someone else patches my file in their own directory
 
Old 02-01-2011, 05:03 PM   #2
ForzaItalia2006
Member
 
Registered: Dec 2009
Location: Walldorf, Germany
Distribution: (X)Ubuntu, Arch, Gentoo
Posts: 205

Rep: Reputation: 67
Quote:
Originally Posted by HarryBoy View Post
I have a new folder in my directory, called 'newfolder'

When I create a diff file there is no mention of this new folder in it.
Hey,

do you already have a file in this directory? Since SVN usually uses the OS diff utility, you'll only see the dir - I suppose - when there is a file to run the diff(1) on.

Hope that helps,
Andi
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot update svn folder: "unversioned directory of the same name already exists sneakyimp Linux - Software 2 01-01-2010 01:59 PM
How to Add projects to SVN keeping revision/ history? your_shadow03 Linux - Server 1 06-10-2009 09:21 AM
Not able to add two different projects in SVN (Linux server) deepaklinux Linux - Software 1 02-14-2008 02:02 AM
Avoid .svn folder when using grep jostmart Linux - General 2 06-02-2007 12:27 AM
kdevelop add folder and add new class is slow edwardt Programming 0 03-03-2004 06:04 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration