piston 1.2.0 → 1.2.1
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/CHANGELOG +9 -0
- data/lib/piston/commands/import.rb +4 -3
- data/lib/piston/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -1,4 +1,13 @@
|
|
1
1
|
*SVN*
|
2
|
+
|
3
|
+
2006-11-20 1.2.1
|
4
|
+
* Import subcommand would fail with a "svn: Explicit target required
|
5
|
+
('vendor/rails' interpreted as prop value)" error. This was a minor
|
6
|
+
error in the import code. Reported by Daniel N.
|
7
|
+
* The import subcommand could import another revision than what was intended,
|
8
|
+
if HEAD was updated while the import is in progress.
|
9
|
+
|
10
|
+
2006-11-17 1.2.0
|
2
11
|
* New status subcommand. Shows M if locally or remotely modified. Applies to
|
3
12
|
one, many, all folders. This subcommand *requires* the use of a Subversion
|
4
13
|
1.2.0 client. Thanks to Chris Wanstrath for the inspiration. His Rake
|
@@ -19,8 +19,9 @@ module Piston
|
|
19
19
|
raise Piston::CommandError, "#{File.expand_path(File.join(dir, '..'))} is out of date - run svn update" unless my_info['Revision'] == my_revision
|
20
20
|
|
21
21
|
info = YAML::load(svn(:info, repos))
|
22
|
+
his_revision = revision || info['Revision']
|
22
23
|
options = [:export]
|
23
|
-
options << ['--revision',
|
24
|
+
options << ['--revision', his_revision]
|
24
25
|
options << '--quiet'
|
25
26
|
options << repos
|
26
27
|
options << dir
|
@@ -37,7 +38,7 @@ module Piston
|
|
37
38
|
# Set the properties
|
38
39
|
svn :propset, Piston::ROOT, repos, dir
|
39
40
|
svn :propset, Piston::UUID, info['Repository UUID'], dir
|
40
|
-
svn :propset, Piston::REMOTE_REV,
|
41
|
+
svn :propset, Piston::REMOTE_REV, his_revision, dir
|
41
42
|
svn :propset, Piston::LOCAL_REV, my_revision, dir
|
42
43
|
svn :propset, Piston::LOCKED, revision, dir if lock
|
43
44
|
|
@@ -45,7 +46,7 @@ module Piston
|
|
45
46
|
# set and the user can handle the rest
|
46
47
|
svn :add, '--force', '--quiet', dir
|
47
48
|
|
48
|
-
logging_stream.puts "Exported r#{
|
49
|
+
logging_stream.puts "Exported r#{his_revision} from '#{repos}' to '#{dir}'"
|
49
50
|
end
|
50
51
|
|
51
52
|
def self.help
|
data/lib/piston/version.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: piston
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.2.
|
7
|
-
date: 2006-11-
|
6
|
+
version: 1.2.1
|
7
|
+
date: 2006-11-20 00:00:00 +00:00
|
8
8
|
summary: Piston is a utility that enables merge tracking of remote repositories.
|
9
9
|
require_paths:
|
10
10
|
- lib
|