LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-27-2009, 08:55 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,434
Blog Entries: 6

Rep: Reputation: 51
Labels on SVN?


Yesterday developers did a small release for an internal demo of one of the project which was on SVN Server. They would like to apply label for the files which they released today or they want to label a directory a few files under that so that in feature they can get them back.
So, may I know the procedure to follow to apply label in SVN?
 
Old 06-27-2009, 11:16 AM   #2
kellinwood
Member
 
Registered: Jan 2006
Location: Culver City, California
Distribution: Fedora
Posts: 64

Rep: Reputation: 21
In Subversion terminology this is called 'tagging' the code.

From the root of a local subversion workarea do this:

Code:
svn copy -m "Tag for demo released on June 26, 2009" . http://my.svn.host/path/to/project/tags/demo-090626
this will create a tag called demo-090626 by copying the current workarea to the tag.

You will have to change a couple of things:

* The server may be running under SVN protocol instead of HTTP (change http:// to svn://)
* Fix the subversion server hostname in the URL.
* Change /path/to/project appropriate for the path on your SVN server (use 'svn info' and look at the URL field in the output).
* You might have to create the tags directory on the SVN server for your project if it doesn't exist yet (do 'svn help mkdir'). Important: the tags directory must be a sibling to the trunk/ directory, not a child directory.

Hope this helps,

Ken

Last edited by kellinwood; 06-27-2009 at 11:17 AM.
 
Old 06-28-2009, 11:01 PM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,434
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Do you mean that the developer need to create a folder called tag-09062009 as seperate folder through tortoise SVN ( as of now he is working on the same client). Whatever he has worked upto now..He need to put all these directory in that folder.
 
Old 06-28-2009, 11:21 PM   #4
kellinwood
Member
 
Registered: Jan 2006
Location: Culver City, California
Distribution: Fedora
Posts: 64

Rep: Reputation: 21
Yes, because that's how tagging works in Subversion - the tag is a snapshot of the project and it appears in the form of a directory.

I suggest you read this: http://svnbook.red-bean.com/en/1.1/ch04s06.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
copy svn working dir without svn hidden dirs and files? erinspice Linux - Software 4 03-29-2011 05:58 PM
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 05:31 AM
svn checkout -bash svn command not found Anauj0101 Linux - Newbie 6 04-20-2008 05:50 PM
cd labels? firedance Linux - Software 4 04-14-2008 08:19 AM
1. how to set labels bottom margin? 2. how to set all labels to be right to left typi dfgfdgdf General 0 03-20-2007 09:43 AM


All times are GMT -5. The time now is 09:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration