# Copy\_move extension and 0.6.9

**URL:** <https://www.ruby-forum.com/t/copy-move-extension-and-0-6-9/156494>\
**Category:** Radiant CMS\
**Created:** [December 29, 2008, 2:16am UTC](https://www.ruby-forum.com/t/copy-move-extension-and-0-6-9/156494 "2008-12-29T02:16:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nateless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/96bed5/32.png) [@nateless](https://www.ruby-forum.com/u/nateless)\
**Post date:** [December 29, 2008, 2:16am UTC](https://www.ruby-forum.com/t/copy-move-extension-and-0-6-9/156494/1 "2008-12-29T02:16:47Z")

</div>

Can anybody tell me how I can git clone and older version of the  
copy\_move  
extension for use with Radiant 0.6.9? I am not up with all the ins and  
outs  
of git enough to figure out how to use previous revisions.

Thanks,

~Nate

---

<div class="post-metadata">

**Author:** ![nateless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/96bed5/32.png) [@nateless](https://www.ruby-forum.com/u/nateless)\
**Post date:** [December 29, 2008, 3:15am UTC](https://www.ruby-forum.com/t/copy-move-extension-and-0-6-9/156494/2 "2008-12-29T03:15:50Z")

</div>

In my experience, the current version of copy\_move works fine with 0.6.9

git clone git://github.com/pilu/radiant-copy-move.git

(I know, I didn’t answer the question).

Andrew

---

<div class="post-metadata">

**Author:** ![nateless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/96bed5/32.png) [@nateless](https://www.ruby-forum.com/u/nateless)\
**Post date:** [December 29, 2008, 3:32am UTC](https://www.ruby-forum.com/t/copy-move-extension-and-0-6-9/156494/3 "2008-12-29T03:32:11Z")

</div>

On Sun, Dec 28, 2008 at 8:15 PM, Andrew vonderLuft  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> In my experience, the current version of copy\_move works fine with 0.6.9
> 
> git clone git://github.com/pilu/radiant-copy-move.git
> 
> (I know, I didn’t answer the question).

With the most current version of the copy\_move extension and v. 0.6.9 I  
get  
this “error” for every page in the list of pages:  
\*`copy\_move\_extra\_th’ default partial not found!

I \*have used this extension in the past without any problems at all, but  
in  
building (rebuilding) a project this weekend I am having this problem. I  
can  
only imagine it is because of this comment in three places from the  
latest  
commit: “used the new  
admin\_pages\_url[http://github.com/pilu/radiant-copy-move/commit/07015cd85bca4af44a182775e7979e965f1acc94](http://github.com/pilu/radiant-copy-move/commit/07015cd85bca4af44a182775e7979e965f1acc94)”  
. Again, I imagine this is to allow for the extension to work with v.  
0.7  
but it seems to break compatibility with 0.6.9. Am I wrong?

~Nate

---

<div class="post-metadata">

**Author:** ![nateless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/96bed5/32.png) [@nateless](https://www.ruby-forum.com/u/nateless)\
**Post date:** [December 29, 2008, 4:23pm UTC](https://www.ruby-forum.com/t/copy-move-extension-and-0-6-9/156494/4 "2008-12-29T16:23:52Z")

</div>

On Sun, Dec 28, 2008 at 9:31 PM, Nate T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> With the most current version of the copy\_move extension and v. 0.6.9 I get  
> this “error” for every page in the list of pages:

\*`copy\_move\_extra\_th’ default partial not found!

> but it seems to break compatibility with 0.6.9. Am I wrong?

Actually, it was the commit before that:

> <https://github.com/gravityblast/radiant-copy-move/commit/b7d93af32fc8fbaa97611d0697ab33f606d2eef1>

pilu updated his extension for Radiant 0.7.0, breaking it for 0.6.9.  
Just  
rename RADIANT\_ROOT/vendor/extensions/copy\_move/app/views/pages to  
“page”.

–  
Tim

---

<div class="post-metadata">

**Author:** ![nateless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/96bed5/32.png) [@nateless](https://www.ruby-forum.com/u/nateless)\
**Post date:** [December 29, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/copy-move-extension-and-0-6-9/156494/5 "2008-12-29T16:36:11Z")

</div>

On Mon, Dec 29, 2008 at 9:23 AM, Tim G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Actually, it was the commit before that:
> 
> [the new radiant searches for regions under app/views/admin/pages inst… · gravityblast/radiant-copy-move@b7d93af · GitHub](http://github.com/pilu/radiant-copy-move/commit/b7d93af32fc8fbaa97611d0697ab33f606d2eef1)
> 
> pilu updated his extension for Radiant 0.7.0, breaking it for 0.6.9. Just  
> rename RADIANT\_ROOT/vendor/extensions/copy\_move/app/views/pages to “page”.

Thanks, Tim. Worked like a champ.

~Nate

---

<div class="post-metadata">

**Author:** ![nateless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/96bed5/32.png) [@nateless](https://www.ruby-forum.com/u/nateless)\
**Post date:** [December 29, 2008, 5:48pm UTC](https://www.ruby-forum.com/t/copy-move-extension-and-0-6-9/156494/6 "2008-12-29T17:48:57Z")

</div>

Thank you so much! I looked through the Pragmatic book and could not  
find  
any of this info.

~Nate

On Mon, Dec 29, 2008 at 10:05 AM, Andrew N.  
\<removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![nateless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/96bed5/32.png) [@nateless](https://www.ruby-forum.com/u/nateless)\
**Post date:** [December 29, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/copy-move-extension-and-0-6-9/156494/7 "2008-12-29T20:43:53Z")

</div>

Where possible, I have been tagging extensions in ‘radiant’ github user  
with 0.6.9 before making updates for 0.7. I suggest developers tag  
their extension repositories similarly to reduce confusion.

Sean

---

<div class="post-metadata">

**Author:** ![nateless](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/96bed5/32.png) [@nateless](https://www.ruby-forum.com/u/nateless)\
**Post date:** [December 29, 2008, 5:12pm UTC](https://www.ruby-forum.com/t/copy-move-extension-and-0-6-9/156494/8 "2008-12-29T17:12:02Z")

</div>

On 29 Dec 2008, at 01:15, Nate T. wrote:

> Can anybody tell me how I can git clone and older version of the  
> copy\_move  
> extension for use with Radiant 0.6.9? I am not up with all the ins  
> and outs  
> of git enough to figure out how to use previous revisions.

I would suggest checking out an older revision of the extension into a  
new git branch. That way you can keep the up-to-date version (for 0.7)  
in its own branch, so that if you upgrade your site to 0.7 in the  
future, it is still there for you.

Here are the steps (note that ‘co’ is short for ‘checkout’, and ‘br’  
for ‘branch’. I have these set as aliases[1](http://git.or.cz/gitwiki/Aliases)):

# from the home directory of your radiant site:

$ git clone git://github.com/pilu/radiant-copy-move.git vendor/  
extensions/copy\_move  
$ cd vendor/extensions/copy\_move  
$ git log

This gives you a list of all commits, with their commit messages and  
‘sha’ values. Find the commit that you want to revert back to (i.e.  
the commit prior to the one that breaks in 0.6.7). e.g.:

commit b7d93af32fc8fbaa97611d0697ab33f606d2eef1  
Author: Andrea F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Date: Tue Dec 16 18:37:56 2008 +0100

```
  the new radiant searches for regions under app/views/admin/pages

```

instead of the old app/views/admin/page

commit 79ee39addf4adabcf28fe77a8cb9cbf2338feda8  
Merge: a904fd3… 9f3dd2a…  
Author: Andrea F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Date: Tue Dec 16 18:33:43 2008 +0100

```
  Merge branch 'master' of git://github.com/avonderluft/radiant-

```

copy-move into avonderluft/master

If commit ‘b7d93a’ introduces changes that break in 0.6.7, you want to  
use the commit before it: ‘79ee39’. So check it out:

$ git co 79ee39  
Note: moving to “79ee39” which isn’t a local branch  
If you want to create a new branch from this checkout, you may do so  
(now or later) by using -b with the checkout command again. Example:  
git checkout -b \<new\_branch\_name\>  
HEAD is now at 79ee39a… Merge branch ‘master’ of git://github.com/  
avonderluft/radiant-copy-move into avonderluft/master

Now when you list the branches, you should see:

$ git br

- (no branch)  
master

When you checked out the old revision, you were prompted with  
instructions on how to turn it into a branch of its own. Something like:

$ git co -b pre-0.7

Now, when you list branches:

$ git br  
master

- pre-0.7

You can switch between your branches using `git co <branch-name>`. e.g.

$ git co master  
$ git br

- master  
pre-0.7  
$ git co pre-0.7  
$ git br  
master
- pre-0.7

I hope that helps.

Cheers,  
Drew
