info > ARCHPATH

ARCHPATH(1) General Commands Manual ARCHPATH(1)

๐Ÿ“› NAME

archpath - output arch (tla/Bazaar) archive names, with support for branches

๐Ÿš€ Quick Reference

Use CaseCommandDescription
Get current package namearchpathOutputs the package name for the current working copy
Get package name for specific branchโ€‘versionarchpath branch--versionOutputs package name in current archive and category for given version
Get package name for branch with same versionarchpath branchOutputs package name for branch in current archive and category with same version as current working copy
Create a new feature branchbaz branch $(archpath) $(archpath new-feature)Creates a new branch for feature using current package name
Tag current code to releases branchbaz branch $(archpath) $(archpath releases--1.0)Creates a branch with tag 1.0 on releases branch

๐Ÿ“‹ SYNOPSIS

archpath
archpath branch
archpath branch--version

๐Ÿ“ DESCRIPTION

archpath is intended to be run in an arch (tla or Bazaar) working copy.

In its simplest usage, archpath with no parameters outputs the package name (archive/category--branch--version) associated with the working copy.

If a parameter is given, it may either be a branch--version, in which case archpath will output a corresponding package name in the current archive and category, or a plain branch name (without โ€˜--"), in which case archpath will output a corresponding package name in the current archive and category and with the same version as the current working copy.

This is useful for branching. For example, if you're using Bazaar and you want to create a branch for a new feature, you might use a command like this:

baz branch $(archpath) $(archpath new-feature)

Or if you want to tag your current code onto a โ€˜releasesโ€™ branch as version 1.0, you might use a command like this:

baz branch $(archpath) $(archpath releases--1.0)

That's much easier than using โ€˜baz tree-versionโ€™ to look up the package name and manually modifying the result.

๐Ÿ‘ค AUTHOR

archpath was written by Colin Watson <cjwatson AT debian.org>. Like archpath, this manual page is released under the GNU General Public License, version 2 or later.

DEBIAN Debian Utilities ARCHPATH(1)

ARCHPATH
๐Ÿ“› NAME ๐Ÿš€ Quick Reference ๐Ÿ“‹ SYNOPSIS ๐Ÿ“ DESCRIPTION ๐Ÿ‘ค AUTHOR

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:12 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!