Questions tagged [svn-propset]

Questions regarding SVN propset operations.

In the context of the Apache SVN Version Control System, propset is an operation that assigns values to properties on files, directories, or revisions.

33 questions
1
vote
1 answer

SVN Propset svn:keywords, only expanding in some directories

Good Day, I am controlling an SVN repository with over 10k .sql files. There is a need to have the revision number updated inside the file whenever there is a commit. To address this I ran this line on every exisiting file svn propset svn:keywords…
Matt Kimball
  • 121
  • 2
  • 13
1
vote
0 answers

svn propset via command line with UTF-8 characters

How can i set svn properties via commandline command like this: "svn propset testprop "äüöüöü" test.txt" without getting this: Σⁿ÷ⁿ÷ⁿ as result of "svn propget testprop test.txt" The argument --encoding didn't work on propset
orontan
  • 11
  • 2
1
vote
1 answer

Setting a folder to be ignored, must I commit this change/modification?

Sorry, this is probably a daft question, but I am having a slow day. I have a folder: wp-content/uploads/ I would like all files and folders within /uploads/ to be ignored by svn. But I don't want them to be deleted as they are needed for the…
BrokenCode
  • 951
  • 4
  • 19
  • 43
1
vote
1 answer

How to customize svn date format

I want to use $Date$ for the autoset property during check-in, but want to have a means to modify its format. I just need to include the year information. $Date: 2015-06-05 00:49:43 -0700 (Fri, 05 Jun 2015) $: Can this be done through svn settings,…
1
vote
1 answer

How to do a "svn copy without externals" ?

I have a branch A with externals I need to copy the content (without the externals) to a tag B. How to proceed ? I tried, svn copy A B --ignore-externals It did not work. Please note that A and B are complete https paths.
Harsha K L
  • 627
  • 1
  • 7
  • 16
1
vote
1 answer

set svn:externals from script

I am trying to set the svn:externals property from a bash script. The line that fails is: svn propset svn:externals \'WEB-INF/src/com/project https://subversion.assembla.com/svn/myProject/branches/Release_$Version/com/project\' . Where $Version is…
0
votes
2 answers

SVN Add file every commit or merge, even if not changed

Can I force SVN to commit/merge a specific file every time even if the file doesn't change? I know you can ignore a file but what about something like 'Always Commit' option? I'm using the revision number SVN Tags $Revision$ in one file, I parse the…
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
0
votes
1 answer

If I use svn propset svn:ignore -F multiple times is the property appended to or replaced?

Say I want to convert a .cvsignore file to an svn:ignore property while converting an old cvs project to svn. Then someone else comes along and, not realizing that .cvsignore is no longer in use, changes the .cvsignore file to update new ignored…
justkt
  • 14,610
  • 8
  • 42
  • 62
0
votes
1 answer

Change svn node properties with Python raises a SubversionException

When changing a svn node property with python, using svn.fs.change_node_prop(root, path, "thisisa:property", "andthisisavalue") raises an exception with the message "svn.core.SubversionException: ('Root object must be a transaction root',…
Joaquín M
  • 1,135
  • 1
  • 10
  • 20
0
votes
1 answer

Is it possible to set SVN properties with propset without committing?

Good Day, Our team controls an SVN repository and is in charge of automating some of our sql deployments. We have a need to include the SVN revision number in the files that are checked out. At the moment I am able to add the line $Id$ somewhere in…
Matt Kimball
  • 121
  • 2
  • 13
0
votes
0 answers

How to traverse through all the files from the svn checked out repository and read its properties

We have a requirement to check out the files from SVN and traverse through all the files to print the properties of versions & the author. Please help me on this.Am completely new to SVN , I checked out the files through commandline tool.But not…
Rahul
  • 759
  • 3
  • 21
  • 43
0
votes
1 answer

how to work with SVN properties(bugtraq:logregex)

I found a Eclipse plugin requiring the bugtraq:logregex of SVN properties. The bugtraq:logregex property suppose to be my Jira ticket ID. I am wondering how will this function works. Is that like this: Find the Jira ticket ID Add SVN properties…
Spider
  • 1,380
  • 4
  • 22
  • 42
0
votes
1 answer

auto add comments in the header

With SVN, is it possible to incude automaticlly a "comment" tempate when I add a new file ? For example, I want to add automatically this comment when I add a file "*.pl" : # SVN information : # @Autor : $Author$ # @Autor : $Revision$ # @Id :…
0
votes
1 answer

svn ignore setting how-to?

I am now trying to set ignore file list to svn. I did try this way. svn propedit svn:ignore . .project .cproject tags cscope.files cscope.out SICR2000_CPU_Ver0.04.25.tgz And with these settings, my svn status prints out like shown below. svn…
Jumogehn
  • 1,102
  • 3
  • 11
  • 29
0
votes
1 answer

Update one specific file on any action with head revision

i want to have on file, that contains the HEAD revision of the whole project. i know, that i can do that with svn propset. but the problem of this is, if the file is not changed, the value of the revision will, indeed, stay the same. how can i…
emfi
  • 649
  • 6
  • 23