client.mk: Need easy way to pull by date.

RESOLVED FIXED

Status

P3
enhancement
RESOLVED FIXED
20 years ago
14 years ago

People

(Reporter: lennox, Assigned: slamm)

Tracking

Trunk
x86
FreeBSD

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

20 years ago
This patch allows me to specify a timestamp for cvs checkouts, so I can grab the
"last known good" date from the bonsai page, e.g.:

MOZ_CO_DATE="04/20/99 10:25:49 PDT" gmake -f client.mk checkout

Note that there seem to be some problems if you specify MOZ_CO_BRANCH and
MOZ_CO_DATE simultaneously, and I'm not quite sure how to handle clearing sticky
tags, so this might need a little more work, but for this purpose it works for
me.
(Reporter)

Comment 1

20 years ago
Created attachment 46 [details] [diff] [review]
Patch to make MOZ_CO_DATE work
(Assignee)

Updated

20 years ago
Status: NEW → ASSIGNED
Summary: client.mk: Need easy way to pull by date.
(Assignee)

Comment 2

20 years ago
You can do this today with the following,

MOZ_CO_FLAGS='-D"04/20/99 10:25:49 PDT" -P' gmake -f client.mk checkout

Is this too gross? I just don't want to add an environment variable to every cvs
flag. I will probably apply to patch, but let me think about it for a little
bit.
(Assignee)

Updated

20 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

20 years ago
I added it. No big deal. I was just trying to think of a way to make it even
easier to pull by date. It would be cool if the Build Configurator could spit
out an option that is that last known good build. I personally can never
remember how to type in the date formate.

Marking fixed.
(Assignee)

Comment 4

20 years ago
I added pull by date to the Build Configurator:

http://cvs-mirror.mozilla.org/webtools/build/config.cgi
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.