how to pull a version of a date?

4 messages Options
Embed this post
Permalink
Juha Heinanen

how to pull a version of a date?

Reply Threaded More More options
Print post
Permalink
is there a way to pull a version of sr_3.0 as it was at a certain date?
i would like to get one before the latest branch route commits that made
things worse.

-- juha

_______________________________________________
sr-dev mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Klaus Darilion

Re: how to pull a version of a date?

Reply Threaded More More options
Print post
Permalink


Juha Heinanen schrieb:
> is there a way to pull a version of sr_3.0 as it was at a certain date?
> i would like to get one before the latest branch route commits that made
> things worse.


AFAIK you need to know the hash of the relevant release

klaus

_______________________________________________
sr-dev mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Klaus Darilion

Re: how to pull a version of a date?

Reply Threaded More More options
Print post
Permalink
e.g. use:
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router

(you can bo back in the history)

to find the commit, then click on "commit" to get the hash id.

klaus

Klaus Darilion schrieb:

>
>
> Juha Heinanen schrieb:
>> is there a way to pull a version of sr_3.0 as it was at a certain date?
>> i would like to get one before the latest branch route commits that made
>> things worse.
>
>
> AFAIK you need to know the hash of the relevant release
>
> klaus
>
> _______________________________________________
> sr-dev mailing list
> [hidden email]
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

_______________________________________________
sr-dev mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Andrei Pelinescu-Onciul

Re: how to pull a version of a date?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Juha Heinanen
On Oct 30, 2009 at 14:21, Juha Heinanen <[hidden email]> wrote:
> is there a way to pull a version of sr_3.0 as it was at a certain date?
> i would like to get one before the latest branch route commits that made
> things worse.


Checkout what was on sr_3.0 1 week ago without a branch (it would be
difficult to make/commit changes):

git checkout origin/sr_3.0@{"1 week ago"}

The same thing, but creating a new local branch sr_3.0_old with the
content from 1 week ago:

git checkout -b sr_3.0_old origin/sr_3.0@{"1 week ago"}


If you know the commit id, you can use it directly instead of
origin/sr_3.0@{"1 week ago"}.

What would be interesting is to check out 44f7bf6 (the first branch
commit) and see if it works with it.

Andrei

_______________________________________________
sr-dev mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev