Svn export issue


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Svn export issue
# 1  
Old 07-17-2014
Svn export issue

Hi all,

When i do

"svn export <URL of the specific file in svn>"

it gives me file which is of older version instead of a file which is of latest or current working version.

On the other hand,

"svn co <URL of the directory in svn>"

It gives me latest version committed files and folders in svn.

Please help me with this issue.

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies

2. Shell Programming and Scripting

Issue with svn update using cron job.

I want to update svn code using a nightly job using cron, i have created a job in cron as, 30 17-19 * * 1-5 /home/saprab/svnUpdate.sh <branch> <svnusername> <svnpassword> >> <logfile> 2>&1 svnUpdate.sh : =============== #!/bin/bash branch=$1 svnuser=$2 svnpass=$3 cd ${branch}... (2 Replies)
Discussion started by: bhavesh.sapra
2 Replies

3. Shell Programming and Scripting

Fast export in UNIX using Teradata creating issue

Hi All, I am trying to export a file using Fast Export (Teradata) in UNIX. The desired output length is 550 bytes, but the output file is creating string till 75 characters. How to get the full length file? .LOGON .EXPORT file=export.txt; SELECT CAST(('' || (CAST('UD ' AS CHAR(3))) || ... (2 Replies)
Discussion started by: unankix
2 Replies

4. Solaris

How to integrate SVN client to SVN server repository.

Hi, I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7. bash-3.00# ./svn --version svn, version 1.7.4 (r1295709) compiled Mar 2 2012, 12:59:36 Here my requirement is how to integrate svn client to One of the SVN server repository. My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

5. Shell Programming and Scripting

svn check out

If I am transfering a folder from svn location to my unix server with below command, it is working – svn co svn+ssh://bcvxsvxxnp01.corp.ocwen.com/svn/repos/repos/REALResolution/CalcEngine/CalcEngine\ QA/1852011_CalcEngine_v5.1 But when I do below thing – ... (0 Replies)
Discussion started by: thearpit
0 Replies

6. UNIX for Dummies Questions & Answers

svn question

Hello, This one really stumps me. I checked out a repo to a subdirectory. I created a simple post-commit hook that updates the webserver. A. When I update with the command line everything is fine. B. When I use a GUI program to commit, I get this message in the log: Host key verification... (3 Replies)
Discussion started by: mike628
3 Replies

7. UNIX for Dummies Questions & Answers

Permissions issue with webserver and svn

Update: Please anybody can give some help ? I've an issue with files ownerships. I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php. However I'm now using svn and I need all folders and files to be owned by my... (1 Reply)
Discussion started by: aneuryzma
1 Replies

8. Red Hat

SVN subversion performance issue.

Hello to everyone, I am having svn performace issue. Whenever i am doing svn checkout it's slower on one machine than other Xen machine. I will try to explain what is goin on here. I have 3 machine and all three running linux (Centos 5) Machine A is running Svn server. Machine B... (6 Replies)
Discussion started by: email-lalit
6 Replies

9. Shell Programming and Scripting

export issue

hi, I have a password file called mypwd.bash in /home/oracle/practice directory as follows. mypwd.bash mypwd=oracle export mypwd i called the above file in the following script as follows. passwdtest.bash /home/oracle/practice/mypwd.bash echo $mypwd but nothing is getting ... (2 Replies)
Discussion started by: ravi raj kumar
2 Replies
Login or Register to Ask a Question
SVNPATH(1)																SVNPATH(1)

NAME
svnpath - output svn url with support for tags and branches SYNOPSIS
svnpath svnpath tags svnpath branches svnpath trunk DESCRIPTION
svnpath is intended to be run in a Subversion working copy. In its simplest usage, svnpath with no parameters outputs the svn url for the repository associated with the working copy. If a parameter is given, svnpath attempts to instead output the url that would be used for the tags, branches, or trunk. This will only work if it's run in the top-level directory that is subject to tagging or branching. For example, if you want to tag what's checked into Subversion as version 1.0, you could use a command like this: svn cp $(svnpath) $(svnpath tags)/1.0 That's much easier than using svn info to look up the repository url and manually modifying it to derive the url to use for the tag, and typing in something like this: svn cp svn+ssh://my.server.example/svn/project/trunk svn+ssh://my.server.example/svn/project/tags/1.0 svnpath uses a simple heuristic to convert between the trunk, tags, and branches paths. It replaces the first occurrence of trunk, tags, or branches with the name of what you're looking for. This will work ok for most typical Subversion repository layouts. If you have an atypical layout and it does not work, you can add a ~/.svnpath file. This file is perl code, which can modify the path in $url. For example, the author uses this file: #!/usr/bin/perl # svnpath personal override file # For d-i I sometimes work from a full d-i tree branch. Remove that from # the path to get regular tags or branches directories. $url=~s!d-i/(rc|beta)[0-9]+/!!; $url=~s!d-i/sarge/!!; 1 LICENSE
GPL version 2 or later AUTHOR
Joey Hess <joey@kitenet.net> Debian Utilities 2013-12-23 SVNPATH(1)