Closed Bug 451811 Opened 16 years ago Closed 16 years ago

comm-central's client.py needs ability to pull specific revisions/tags

Categories

(MailNews Core :: Build Config, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Callek, Assigned: Callek)

Details

Attachments

(1 file, 1 obsolete file)

With our client.py we need the ability to pull specific revisions/tags.
Attached patch v1.0 (obsolete) — Splinter Review
roughly tested.
Attachment #335197 - Flags: review?(kairo)
Comment on attachment 335197 [details] [diff] [review] v1.0 per IRC, not really ready. the |hg pull -u -r <rev>| fails when local revision history already includes <rev> (or if rev is backwards in history), so a combination of |hg pull| and |hg update| will be needed.
Attachment #335197 - Flags: review?(kairo)
hg update also supports specifying a date (-d date), which would be useful for regression hunting. I can file a new bug if you'd rather not do that here.
Attached patch v1.1Splinter Review
this should do it. the -d thing ajschult mentioned I'd like to only worry about in a new bug
Attachment #335197 - Attachment is obsolete: true
Attachment #335530 - Flags: review?(kairo)
FWIW, the -d requires an exact commit date, and that date is the *commit* date, not when the change was pushed to mozilla-central/comm-central/whatever, so it's not terribly useful for regression finding.
Comment on attachment 335530 [details] [diff] [review] v1.1 From what I can test, this seems to work, thanks (it's actually hard to test this on comm-central, due to hg update not liking trees that have patches/queues applied very much).
Attachment #335530 - Flags: review?(kairo) → review+
$ hg push pushing to ssh://hg.mozilla.org/comm-central/ searching for changes remote: adding changesets remote: adding manifests remote: adding file changes remote: added 1 changesets with 1 changes to 1 files $ hg tip -v changeset: 223:abb590b3397d tag: tip user: Justin Wood <Callek@gmail.com> date: Fri Aug 29 10:40:21 2008 -0400 files: client.py description: Bug 451811, comm-central's client.py needs ability to pull specific revisions/tags r=KaiRo
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Callek asked me for a look at the python code. looks fine to me.
Product: SeaMonkey → MailNews Core
QA Contact: build-config → build-config
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: