Patches: Browse | Submit New | Admin

[#18237] Piston Import does not properly set the revision

Date:
2008-02-20 14:45
Priority:
3
Submitted By:
Ryan Felton (rfelton)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Piston Import does not properly set the revision

Detailed description
Piston 1.4.0 import will set the revision to that of the head and not that of the last changed revision. A piston update
after an import will properly set this.

Example in a Rails project if you do a:

 piston import http://mabs29.googlecode.com/svn/trunk/plugins/simple_sidebar/ vendor/plugins/simple_sidebar

It states: 

"Exported r51 from 'http://mabs29.googlecode.com/svn/trunk/plugins/simple_sidebar/ ' to
'vendor/plugins/simple_sidebar'"

Preforming a piston update sets the proper last changed revision:

Processing 'vendor/plugins/simple_sidebar/'...
  Fetching remote repository's latest revision and UUID
  Restoring remote repository to known state at r51
  Updating remote repository to r2
  Processing adds/deletes
  Merging local changes back in
  Removing temporary files / folders
  Updating Piston properties
  Updated to r2 (0 changes)

I'm going to see about working on a patch and submitting it. 

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item