SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from Fedora 13 Zim-0.29-1.fc13.noarch.rpm

Zim::FS::Subversion

Section: User Contributed Perl Documentation (3)
Updated: 2010-02-10
Index 

NAME

Zim::FS::Subversion - Subversion version control 

DESCRIPTION

This module handles a dir with Subversion version control for Zim.

It inherits from Zim::FS. 

METHODS

 

Version Control Interface

new(@PATH)
Simple constructor for an existing Bazaar dir.
init(@PATH)
Constructor that will initialize a new Bazaar repository.
commit(COMMENT)
Commit a new version if there are any changes.
revert(PATH, VERSION)
Revert a file to a certain version. Discards all local edits.If version is undefined, assume latest saved version.
status()
Returns the `svn status` output.
list_versions(PATH)
Returns a list with version info. PATH is an optional argument,without this argument all versions are listed.
cat_version(PATH, VERSION1)
Returns the content of a file a a specific version.
diff(PATH, VERSION1, VERSION2)
Returns the diff between VERSION1 and VERSION2 for PATH or undef.If either version is undefined a diff versus the current(possibly un-commited) version is returned. If PATH is undefineda diff over the whole tree is returned.
annotate(PATH, VERSION)
Returns the annotated source for PATH or undef. VERSION is an optionalargument; if VERSION is not defined the current (possibly un-commited)version is assumed.
 

Directory Interface

Overloaded methods:
on_write_file(FILE, NEW)
touch()
 

Private Interface

These methods are used to call the svn command.
svn(@ARG)
Run the "svn" command in the appropriate directory and return any outputto STDOUT or STDERR. Will die on error with output in $@.
 

AUTHOR

Jaap Karssenberg (Pardus) <pardusAATTcpan.org>

Copyright (c) 2008 Jaap G Karssenberg. All rights reserved.This program is free software; you can redistribute it and/ormodify it under the same terms as Perl itself. 

SEE ALSO


 

Index

NAME
DESCRIPTION
METHODS
Version Control Interface
Directory Interface
Private Interface
AUTHOR
SEE ALSO

This document was created byman2html,using the manual pages.