8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Folks ,
I am asking this question but i apologise please if this is not the correct forum ,
I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies
2. SuSE
I had installed svn on SLES 11 using comands:
zypper addrepo http://download.opensuse.org/repositories/devel:tools:scm:svn/SLE_11/devel:tools:scm:svn.repo
zypper refresh
zypper install subversion
But when I run svn it gives me error as:
linux-uw85:~/Desktop # svn help
svn: error while... (4 Replies)
Discussion started by: rupeshkp728
4 Replies
3. Shell Programming and Scripting
Hello everyone. Completely new here (so if this post is in the wrong forum point me in the right direction), and fairly new to unix. I have a macbook pro and just recently started messing around with the Single User Mode, where i can manipulate directories/files/etc using unix. I have also just... (0 Replies)
Discussion started by: lsant894
0 Replies
4. Solaris
Hi,
I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7.
bash-3.00# ./svn --version
svn, version 1.7.4 (r1295709)
compiled Mar 2 2012, 12:59:36
Here my requirement is how to integrate svn client to One of the SVN server repository.
My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies
5. Shell Programming and Scripting
Hi,
I am new for SVN. Earlier I have been using CVS. When I checkout the code from SVN using Eclipse, the size of the source code checked out is 612MB. But when I try to checkout from terminal, from my 5.8 branch , the checked out source code's size is only 312.1 MB.
Can anyone tell me... (0 Replies)
Discussion started by: Afreen
0 Replies
6. UNIX and Linux Applications
hi,
I have installed subversion in my debian system.and is working properly with authentication.
my repository has only one workspace. and many authenticated users edit files in this.
my question is simple.
can we integrate svn with vi ,so that if anyone edits the file and make any... (1 Reply)
Discussion started by: madhusudankh
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
I am trtying to install SVN server with Apache.
I have already configured apache with SVN modulesh and the same can be seen in the modules directory.
-rwxr-xr-x 1 root root 34740 Jul 3 13:43 mod_authz_svn.so
-rwxr-xr-x 1 root root 385133 Jul 3 13:43 mod_dav_svn.so
now the... (1 Reply)
Discussion started by: Siddheshk
1 Replies
8. Red Hat
Hello to everyone,
I am having svn performace issue.
Whenever i am doing svn checkout it's slower on one machine than other Xen machine.
I will try to explain what is goin on here.
I have 3 machine and all three running linux (Centos 5)
Machine A is running Svn server.
Machine B... (6 Replies)
Discussion started by: email-lalit
6 Replies
Git::SVN::Fetcher(3) User Contributed Perl Documentation Git::SVN::Fetcher(3)
NAME
Git::SVN::Fetcher - tree delta consumer for "git svn fetch"
SYNOPSIS
use SVN::Core;
use SVN::Ra;
use Git::SVN;
use Git::SVN::Fetcher;
use Git;
my $gs = Git::SVN->find_by_url($url);
my $ra = SVN::Ra->new(url => $url);
my $editor = Git::SVN::Fetcher->new($gs);
my $reporter = $ra->do_update($SVN::Core::INVALID_REVNUM, '',
1, $editor);
$reporter->set_path('', $old_rev, 0);
$reporter->finish_report;
my $tree = $gs->tmp_index_do(sub { command_oneline('write-tree') });
foreach my $path (keys %{$editor->{dir_prop}) {
my $props = $editor->{dir_prop}{$path};
foreach my $prop (keys %$props) {
print "property $prop at $path changed to $props->{$prop}
";
}
}
foreach my $path (keys %{$editor->{empty}) {
my $action = $editor->{empty}{$path} ? 'added' : 'removed';
print "empty directory $path $action
";
}
foreach my $path (keys %{$editor->{file_prop}) { ... }
foreach my $parent (keys %{$editor->{absent_dir}}) {
my @children = @{$editor->{abstent_dir}{$parent}};
print "cannot fetch directory $parent/$_: not authorized?
"
foreach @children;
}
foreach my $parent (keys %{$editor->{absent_file}) { ... }
DESCRIPTION
This is a subclass of "SVN::Delta::Editor", which means it implements callbacks to act as a consumer of Subversion tree deltas. This
particular implementation of those callbacks is meant to store information about the resulting content which git svn fetch could use to
populate new commits and new entries for unhandled.log. More specifically:
o Additions, removals, and modifications of files are propagated to git-svn's index file $GIT_DIR/svn/$refname/index using git update-
index.
o Changes in Subversion path properties are recorded in the "dir_prop" and "file_prop" fields (which are hashes).
o Addition and removal of empty directories are indicated by entries with value 1 and 0 respectively in the "empty" hash.
o Paths that are present but cannot be conveyed (presumably due to permissions) are recorded in the "absent_file" and "absent_dirs"
hashes. For each key, the corresponding value is a list of paths under that directory that were present but could not be conveyed.
The interface is unstable. Do not use this module unless you are developing git-svn.
DEPENDENCIES
SVN::Delta from the Subversion perl bindings, the core Carp, File::Basename, and IO::File modules, and git's Git helper module.
"Git::SVN::Fetcher" has not been tested using callers other than git-svn itself.
SEE ALSO
SVN::Delta, Git::SVN::Editor.
INCOMPATIBILITIES
None reported.
BUGS
None.
perl v5.16.3 2013-06-10 Git::SVN::Fetcher(3)