svnbranch 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt ADDED
@@ -0,0 +1,47 @@
1
+ == 0.2.0 2008-08-24
2
+
3
+ * 3 major enhancements:
4
+ * Added 'kill' operation. This removes all traces of the specified
5
+ branch from the Subversion repository.
6
+ * Added '-s | --switch' option to 'create' mode, which causes Svnbranch
7
+ to switch the working directory to point to the new branch, in lieu
8
+ of copying the files locally.
9
+ * Changed invocation such that the entire branch name, including any
10
+ sub-branches, are named in a single argument.
11
+ * 4 minor enhancements:
12
+ * Added a UNIX manual page (svnbranch.1) to distribution.
13
+ * Changed local file copy method to attempt to use Rsync if
14
+ available, otherwise, use Ruby's FileUtils module.
15
+ * Prefixed 'branches' to name of a created branch, to mirror how Subversion
16
+ server will store information in 'branches' directory.
17
+ * Changed order of checking work environment, such that local system
18
+ checks are done before going out over the network.
19
+
20
+ == 0.1.3 2008-08-12
21
+
22
+ * 1 minor enhancement:
23
+ * Ported application directory to "Mr. Bones." for Ruby gem management.
24
+
25
+ == 0.1.2 2008-08-11
26
+
27
+ * 4 minor enhancements:
28
+ * Simplified and corrected processing of Subversion information in local
29
+ working directory to determine repository and trunk or branch information.
30
+ * Corrected regression error.
31
+ Should use [branch_name-PRE] not [PRE-branch_name].
32
+ * Version information from command line via '--version' option.
33
+ * While verifying status of committed files in working directory, will not
34
+ re-display the file names again after [svn status] already listed.
35
+
36
+ == 0.1.0 2008-08-04
37
+
38
+ * 2 major enhancements:
39
+ * Changed order for command line arguments between branch and sub-branch.
40
+ * Sub-branches are now optional.
41
+ * 1 minor enhancement:
42
+ * Default verbosity level is verbose.
43
+
44
+ == 0.0.1 2008-08-01
45
+
46
+ * 1 major enhancement:
47
+ * Initial release
data/License.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2008 Karrick S. McDermott
2
+
3
+ (The MIT License)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Manifest.txt ADDED
@@ -0,0 +1,26 @@
1
+ History.txt
2
+ License.txt
3
+ Manifest.txt
4
+ README.txt
5
+ Rakefile
6
+ TODO.txt
7
+ bin/svnbranch
8
+ man1/Makefile
9
+ man1/svnbranch.1
10
+ lib/svnbranch.rb
11
+ spec/spec_helper.rb
12
+ spec/svnbranch_spec.rb
13
+ tasks/ann.rake
14
+ tasks/bones.rake
15
+ tasks/gem.rake
16
+ tasks/git.rake
17
+ tasks/manifest.rake
18
+ tasks/notes.rake
19
+ tasks/post_load.rake
20
+ tasks/rdoc.rake
21
+ tasks/rubyforge.rake
22
+ tasks/setup.rb
23
+ tasks/spec.rake
24
+ tasks/svn.rake
25
+ tasks/test.rake
26
+ test/test_svnbranch.rb
data/README.txt ADDED
@@ -0,0 +1,74 @@
1
+ svnbranch
2
+ by Karrick McDermott
3
+ http://rubyforge.org/projects/svnbranch/
4
+
5
+ == DESCRIPTION:
6
+
7
+ Svnbranch is a program that can assist with managing Subversion branches.
8
+
9
+ Svnbranch allows users to easily create new software branches, and merge in
10
+ changes from a different repository branch. Using branches in software
11
+ development is a key concept in managing large projects. Indeed, the GIT
12
+ source code management package provides an incredibly easy way to manage
13
+ branches, and branch use is greatly encouraged by several large FOSS projects,
14
+ for instance the Linux kernel. Svnbranch attempts to offer the same level of
15
+ user-friendliness to Subversion users.
16
+
17
+ Subversion does branching very well, but its syntax escapes many, or is
18
+ downright long and tedious. Instead of typing in long, error-prone svn
19
+ commands, Svnbranch abstracts one layer above the Subversion command line
20
+ utility providing simple command syntax for common use cases.
21
+
22
+ The result is that with more powerful tools, developers may take advantage of
23
+ the benefits of branched development practices.
24
+
25
+ == FEATURES/PROBLEMS:
26
+
27
+ * Create branches from trunk.
28
+ * Create branches from other branches.
29
+ * Merge in changes from any branch into trunk.
30
+ * Merge in changes from any branch into another branch.
31
+ * Optimized for working over slow network connections.
32
+ * Ability to 'switch' working directory between trunk and branches.
33
+ * Safety checks for sane working environment before any changes made.
34
+
35
+ == SYNOPSIS:
36
+
37
+ $ svnbranch create bug-fixes/BUG-1234
38
+ $ svnbranch close
39
+ $ svnbranch merge bug-fixes/BUG-1234
40
+
41
+ == REQUIREMENTS:
42
+
43
+ * Rubygems
44
+ * Watcher
45
+ * Subversion
46
+
47
+ == INSTALL:
48
+
49
+ * sudo gem install
50
+
51
+ == LICENSE:
52
+
53
+ (The MIT License)
54
+
55
+ Copyright (c) 2008 Karrick S. McDermott
56
+
57
+ Permission is hereby granted, free of charge, to any person obtaining
58
+ a copy of this software and associated documentation files (the
59
+ 'Software'), to deal in the Software without restriction, including
60
+ without limitation the rights to use, copy, modify, merge, publish,
61
+ distribute, sublicense, and/or sell copies of the Software, and to
62
+ permit persons to whom the Software is furnished to do so, subject to
63
+ the following conditions:
64
+
65
+ The above copyright notice and this permission notice shall be
66
+ included in all copies or substantial portions of the Software.
67
+
68
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
69
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
70
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
71
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
72
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
73
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
74
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,23 @@
1
+ # Look in the tasks/setup.rb file for the various options that can be
2
+ # configured in this Rakefile. The .rake files in the tasks directory
3
+ # are where the options are used.
4
+
5
+ load 'tasks/setup.rb'
6
+
7
+ ensure_in_path 'lib'
8
+ require 'svnbranch'
9
+
10
+ task :default => 'spec:run'
11
+
12
+ PROJ.name = 'svnbranch'
13
+ PROJ.authors = 'Karrick S. McDermott'
14
+ PROJ.email = 'karrick@karrick.org'
15
+ PROJ.url = 'http://rubyforge.org/projects/svnbranch/'
16
+ PROJ.rubyforge.name = 'svnbranch'
17
+ PROJ.version = Svnbranch::VERSION
18
+ PROJ.spec.opts << '--color'
19
+ PROJ.exclude = %w{tmp$ bak$ ~$ CVS \.svn ^pkg ^doc}
20
+
21
+ depend_on 'watcher', '>=1.2.0'
22
+
23
+ # EOF
data/TODO.txt ADDED
@@ -0,0 +1,3 @@
1
+ * If process aborts, such as during the creation of a -PRE tag, have
2
+ Svnbranch clean up the inconsistent state on the Subversion server.
3
+ * BUG: On older svn versions (somewhere before 1.5.1), the '--parent' option is not present.