recentpopularlog in

kme : svn   70

Keyword Substitution
Revision

This keyword describes the last known revision in which this file changed in the repository, and looks something like $Revision: 144 $. It may also be specified as LastChangedRevision or Rev.
svn  keywordsubstitution  scm  rcs  likercs  reference 
march 2016 by kme
How to use vimdiff as the subversion diff tool – t+1 - http://blog.tplus1.com/
#!/bin/sh

# Configure your favorite diff program here.
DIFF="/usr/bin/vimdiff"

# Subversion provides the paths we need as the sixth and seventh
# parameters.
LEFT=${6}
RIGHT=${7}

# Call the diff command (change the following line to make sense for
# you
svn  vim  vimdiff  differ  likegit  solution  devel  scm  versioncontrol 
february 2016 by kme
Append directories to ignored list in SVN - Stack Overflow - http://stackoverflow.com/
#! /bin/bash
ignore="foo"
for pathname in "$@"; do
lines="$( svn propget svn:ignore "$pathname" )"
grep -F -x -q "$ignore" - <<< "$lines" ||
svn propset svn:ignore "$lines"$'\n'"$ignore" "$pathname"
done


Also cleverly uses the $'\n' trick for literal metacharacters in the shell. The propset actually doesn't work without this trick.
svn  versioncontrol  scm  solution  ignore 
february 2016 by kme
Delete/Remove WebSVN Repos 1 « Knowledge Stack

nano /etc/websvn/svn_deb_conf.inc
and comment out the line

//$config->addRepository("repos 1", "file:///var/svn-repos");
websvn  svn  debian  versioncontrol  webapp  solution 
february 2016 by kme
Examining History
Why Does svn log Not Show Me What I Just Committed?

If you make a commit and immediately type svn log with no arguments, you may notice that your most recent commit doesn't show up in the list of log messages. This is due to a combination of the behavior of svn commit and the default behavior of svn log. First, when you commit changes to the repository, svn bumps only the revision of files (and directories) that it commits, so usually the parent directory remains at the older revision (See the section called “Updates and commits are separate” for an explanation of why). svn log then defaults to fetching the history of the directory at its current revision, and thus you don't see the newly committed changes. The solution here is to either update your working copy or explicitly provide a revision number to svn log by using the --revision (-r) option.
svn  annoyance  versioncontrol  commandline  solution 
february 2016 by kme
svn delete removed files - Stack Overflow
use an

svn status

it will list changes with the working copy. (deleted files start with a ! )

Then, you can :

svn delete file_to_del1 file_to_del2 etc

and finally commit

You can also write a little snippet to automate this:

svn status | grep '^!' | awk '{print $2}' | xargs svn delete
svn  fordummies  newbie  versioncontrol  solution 
february 2016 by kme
SVN and GNOME Keyring - Ask Ubuntu

Edit the ~/.subversion/config with gedit or nano , and add the following

[auth]
password-stores =

then save and try again. All the best.
svn  gnome-keyring  subversion  configfile 
february 2016 by kme
Using Subversion with the GNOME Keyring
All that CollabNet stuff (like the keyring tool) isn't required with Ubuntu 14.04 (SVN v1.8.8). When

[global]
password-stores = gnome-keyring

is enabled in ~/.subversion/config and

[global]
store-passwords = yes
store-plaintext-passwords = no

is enabled in ~/.subversion/servers, then everything else just seems to work, as long as the terminal has a connection to the gnome-keyring-daemon through the pipe or environment variable or however that black magic works. Look for a key called "network password" (possibly multiples with the same name) in the "Login" keyring. That's the one for your SVN server.
svn  subversion  gnome-keyring  authentication  reference 
february 2016 by kme
linux - store svn password in gnome-keyring - Super User



To run regular SVN with passwords stored in gnome-keyring, your .subversion/config should have

[auth]
store-passwords=yes
store-auth-creds=yes
password-stores=gnome-keyring

and in .subversion/servers

[global]
store-passwords=yes
store-plaintext-passwords=no

There's more if you're using client certificates, but that's the basics. Then, you need binaries from CollabNet Subversion starting at version 1.6.16 -- the current I think is 1.6.17.
svn  gnome-keyring  authentication  configfile  maybesolution 
february 2016 by kme
svn - How do I ignore files in Subversion? - Stack Overflow
svn propedit svn:ignore .


Note that newly created directories need to be added to version control *first*, then you can modify their properties.
svn  likegit  subversion  versioncontrol  scm  solution 
february 2016 by kme
Who-T: On commit messages

I have used CVS (and SVN to a lesser extent) in the past and log was a tool that was hardly ever used. Mostly because it was pretty useless, both the tool and the information available. These days I look at git logs more often than at code. The git log tool is vastly superior to CVS log and the commit discipline in the projects I'm working on now is a lot better. I grep git logs more often than code files and I use git blame all the time to figure out why a particular piece of code looks the way it does. It's certainly saving me a lot of time and effort. It's come to the point where the most annoying X server bugs are the ones where the git history stops at the original import from XFree86. If you're not using your SCM's log tool yet, I recommend to get more familiar with it.


Whitespace changes together with code changes. Needle in a haystack is a fun game, but not when you're looking at patches. It's a great way to introduce bugs, though because almost no-one will spot the bug hidden in hundreds of lines that got reindented for fun and profit.
git  vs  svn  subversion  versioncontrol  scm  commitmessages  styleguide  bestpractices 
february 2016 by kme
svn relocate
Ran into this problem at MLU:

svn relocate https://the-remote-host.com/svn/muti2014 http://localhost/svn/muti
svn: E195009: The repository at 'http://localhost/svn/muti' has uuid '6efe516c-7975-4495-8012-d3912ac5932b', but the WC has '297ee954-bffc-434e-b18a-e8d97ac4e2b1'


But this worked fine at the hospital:
Let's start with a working copy that reflects a local repository URL:

$ svn info | grep URL:
URL: file:///var/svn/repos/trunk
$

One day the administrator decides to rename the on-disk repository directory. We missed the memo, so we see an error the next time we try to update our working copy.

$ svn up
Updating '.':
svn: E180001: Unable to connect to a repository at URL 'file:///var/svn/repos/trunk'

After cornering the administrator over by the vending machines, we learn about the repository being moved and are told the new URL. Rather than checkout a new working copy, though, we simply ask Subversion to rewrite the working copy metadata to point to the new repository location.

$ svn relocate file:///var/svn/new-repos/trunk
svn  subversion  newbie  solution 
february 2016 by kme
rsvndump - remote Subversion repository dump
Starting with Subversion 1.7 in October 2011, the official distribution already contains a remote dumpfile tool called svnrdump.
svn  sysadmin  subversion  migration  software  maybesolution  utility 
february 2016 by kme
Using Svn client and Gnome keyring in SSH sessions – Kenneth Holter
This works, except just be aware that you *might* have to do extra work to get (for example) a tmux session or another desktop environment like XFCE in order to communicate with the GNOME Keyring daemon.

The CollabNet SVN client or all that stuff about using `keyring_tool` doesn't seem to be required. The SVN v1.8.8 shipping with Ubuntu 14.04 just adds a new item called "network password" to the default "Login" keyring.

password-stores = gnome-keyring
store-passwords = yes
store-plaintext-passwords = no
gnome-keyring  authentication  svn  subversion  solution  configfile  partial 
february 2016 by kme
SVN creating trunk directory on existing repository - Stack Overflow - http://stackoverflow.com/
http://www.digitalmediaminute.com/article/2251/how-to-move-a-subversion-repository

//REPO_URL = The URL for the repo on the SVN server.
//In my case it was https://IP_ADDRESS:PORT/svn/my_repo

//Make the trunk dir in the root of your SVN repo
svn mkdir REPO_URL/trunk -m "making trunk dir"

//Move everything from your root dir to your new trunk dir
svn move REPO_URL/A_FOLDER REPO_URL/trunk/A_FOLDER -m "moving folders to trunk"
svn move REPO_URL/ANOTHER_FOLDER REPO_URL/trunk/ANOTHER_FOLDER -m "blah"
svn move REPO_URL/A_FILE.TXT REPO_URL/trunk/A_FILE.TXT -m "moving files to trunk"
//Keep going until you've moved everything from your root dir to the trunk dir...
svn  subversion  branching  newbie  solution 
february 2016 by kme
svn - In Subversion can I be a user other than my login name? - Stack Overflow - http://stackoverflow.com/
Try having a look at ~/.subversion/servers instead.
[groups]
yourgroupname = svn.example.com

[yourgroupname]
username = yourusername
svn  newbie  sortof  solution 
february 2016 by kme
Learning Subversion: the mystery of .svn | Python Conquers The Universe
So now we know what a Subversion administrative directory contains.

The .svn admin directory contains pristine (unchanged) copies of files that were downloaded from the repository. (It contains a few other things, too.)
svn  versioncontrol  newbie  butwhy 
may 2015 by kme
What Is Subversion?
Distributed version control harnesses the growing ubiquity of high-speed network connections and low storage costs to offer an approach which differs from the centralized model in key ways. First and most obvious is the fact that there is no remote, central storehouse of versioned data. Rather, each user keeps and operates against very deep—complete, in a sense—local version history data stores. Collaboration still occurs, but is accomplished by trading changesets (collections of changes made to versioned items) directly between users' local data stores, not via a centralized master data store. In fact, any semblance of a canonical “master” source of a project's versioned data is by convention only, a status attributed by the various collaborators on that project.
dvcs  svn  git  compared  versioncontrol  devel  reference 
may 2015 by kme
uncommitted 1.6 : Python Package Index
See also https://github.com/jwiegley/git-scripts, which contains a Ruby 'git-all.rb' that does a lot (if not all) of the same things.
git  versioncontrol  script  python  devel  mercurial  hg  subversion  svn 
january 2015 by kme
Git - SVN Crash Course
Welcome to the Git version control system! Here we will briefly introduce you to Git usage based on your current Subversion knowledge. You will need the latest Git installed; There is also a potentially useful tutorial in the Git documentation.
git  ifyouknow  subversion  svn  tutorial  compared  scm  versioncontrol  newbie 
january 2015 by kme
The Thing About Git [http://tomayko.com/]
And then there's git rebase --interactive, which is a bit like git commit --amend hopped up on acid and holding a chainsaw - completely insane and quite dangerous but capable of exposing entirely new states of mind. Here you can edit, squash, reorder, tease apart, and annotate existing commits in a way that's easier and more intuitive than it ought to be. The "INTERACTIVE MODE" section of the git-rebase(1) manual page is instructive but Pierre Habouzit's demonstration is what flipped the light on for me.
git  versioncontrol  devel  scm  article  svn  whenthingsgowrong 
october 2014 by kme
Deny access to .svn folders on Apache - Stack Overflow [http://stackoverflow.com/]
This actually seemed to work when placed in the top-level httpd config file, right next to the Files ~ "^\.ht" directive:

<code style="language-apache">
#
# Same for version control directories
#
<DirectoryMatch ".*\.(git|svn)/.*">
Order allow,deny
Deny from all
Satisfy All
</DirectoryMatch></code>

I think the "Satisfy All" is key, otherwise an authenticated user might see the files anyway.

I also tried this one time:
<code style="language-apache">
RedirectMatch 404 /\\.svn(/|$)
</code>

and it worked okay in a .htaccess file.
apache  htaccess  svn  dotfiles  webmaster  configfile  security  solution 
october 2014 by kme
subclipse: Wiki: JavaHL [http://subclipse.tigris.org/]
sudo port install subversion-javahlbindings +no_bdb +universal
java  eclipse  svn  subclipse  plugin  maybesolution  mac  osx 
september 2013 by kme
scplugin: Roadmap
Product requests are the items that are visible to the end user of SCPlugin.

Connection protocols:
svn+ssh
https
svn
http
Accurate badging for all cases
SCPlugin to begin badging on Finder launch, instead of only after a context-menu selection
Badging of the top-level working copy folder
folder badges change to reflect changes inside folders (recursively)
Badging to work when a file is moved to another directory (right now, the badging sticks but it is not correct to stick)
Extension to 'Get Info' in Finder to add in SVN information about a file.
SVN information added to the Finder 'Show view options' so it can be reported in the Finder window as a column
Completion of the basic SVN functions from the command line (e.g., SVN->Info, Log, etc).
SVN Lock functionality
SVN Needs-Lock functionality
SVN property display/edit
Drag-and-drop into/out of the set-up dialog to include/exclude files from a pending operation such as a commit
(Optionally, configurably) colorize files, as well as badging, so they can be used for smart folders
Merge functionality. There are two big options here:
Write our own merge tool
Integrate an existing merge tool
svn  finder  pluging  mac  osx  cocoa  needshelp  programming 
august 2013 by kme
scplugin - scplugin.tigris.org
Provides Subversion file-icon badging and commands from Finder
svn  subversion  sourcecontrol  scm  mac  osx  software  finder  plugin 
august 2013 by kme

Copy this bookmark:





to read