EnglishFrenchSpanish

OnWorks favicon

svnpath - Online in the Cloud

Run svnpath in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command svnpath that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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

Use svnpath online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad